:root {
    --bg: #fafaf8;
    --bg2: #fff;
    --tx: #1a1a1a;
    --mu: #6b6b66;
    --ln: #e6e4de;
    --ac: #ff9f1a;
    --acd: #c77700
}

@media (prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) {
        --bg: #141414;
        --bg2: #1d1d1d;
        --tx: #f2f2ee;
        --mu: #9a9a94;
        --ln: #2c2c2a;
        --acd: #ffa31a
    }
}

:root[data-theme="dark"] {
    --bg: #141414;
    --bg2: #1d1d1d;
    --tx: #f2f2ee;
    --mu: #9a9a94;
    --ln: #2c2c2a;
    --acd: #ffa31a
}

html{scroll-behavior:smooth;scroll-padding-top:65px}
*,
*::before,
*::after {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--tx);
    font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif
}

a {
    color: inherit;
    text-decoration: none
}

.w {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px
}

section {
    padding: 72px 0
}

h2 {
    font-size: clamp(26px, 4vw, 36px);
    margin: 0 0 8px;
    letter-spacing: -.02em
}

h2 span {
    color: var(--acd)
}

.sub {
    color: var(--mu);
    max-width: 620px;
    margin: 0 0 36px
}

header {
    position: sticky;
    top: 0;
    z-index: 9;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ln)
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px
}

.logo {
    font-weight: 800;
    letter-spacing: .14em;
    font-size: 20px
}

.logo i {
    color: var(--ac);
    font-style: normal
}

.links {
    display: flex;
    gap: 26px;
    align-items: center;
    font-size: 14px
}

.links a:hover,
.links a.act {
    color: var(--acd)
}

.links .toko {
    background: var(--ac);
    color: #1a1a1a;
    padding: 7px 16px;
    border-radius: 99px;
    font-weight: 600
}

.links .toko:hover {
    color: #1a1a1a;
    filter: brightness(.95)
}

.ib {
    background: none;
    border: 1px solid var(--ln);
    color: var(--tx);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 15px
}

#mb {
    display: none
}

.hero {
    background: linear-gradient(135deg, #111 30%, #2a1c08);
    color: #fff;
    padding: 110px 0 96px
}

.hero h1 {
    font-size: clamp(36px, 7vw, 68px);
    line-height: 1.08;
    margin: 0 0 16px;
    letter-spacing: -.03em
}

.hero h1 b {
    color: var(--ac)
}

.hero p {
    max-width: 520px;
    color: #cfcfc8;
    margin: 0 0 30px
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid var(--ac);
    cursor: pointer
}

.b1 {
    background: var(--ac);
    color: #1a1a1a
}

.b2 {
    color: #fff;
    margin-left: 8px
}

.btn:hover {
    filter: brightness(1.08)
}

.tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .14em;
    color: var(--ac);
    margin-bottom: 16px;
    text-transform: uppercase
}

.g2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px
}

.card {
    background: var(--bg2);
    border: 1px solid var(--ln);
    border-radius: 16px;
    padding: 22px
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px
}

.card h3 {
    margin: 0 0 6px;
    font-size: 17px
}

.card p {
    margin: 0;
    color: var(--mu);
    font-size: 14.5px
}

.vis {
    background: var(--ac);
    color: #1a1a1a;
    border-radius: 16px;
    padding: 22px;
    font-weight: 500
}

ol {
    padding-left: 20px;
    margin: 0;
    color: var(--mu)
}

ol li {
    margin-bottom: 8px
}

.alt {
    background: var(--bg2);
    border-block: 1px solid var(--ln)
}

.bar input {
    width: 100%;
    max-width: 420px;
    padding: 11px 16px;
    border-radius: 99px;
    border: 1px solid var(--ln);
    background: var(--bg2);
    color: var(--tx);
    font: inherit;
    margin-bottom: 16px
}

.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px
}

.chip {
    border: 1px solid var(--ln);
    background: var(--bg2);
    color: var(--tx);
    padding: 6px 14px;
    border-radius: 99px;
    cursor: pointer;
    font: inherit;
    font-size: 14px
}

.chip.on {
    background: var(--ac);
    border-color: var(--ac);
    color: #1a1a1a;
    font-weight: 600
}

.pi {
    height: 110px;
    border-radius: 12px;
    margin-bottom: 14px;
    display: grid;
    place-items: center;
    font-size: 34px;
    font-weight: 800;
    color: var(--ac);
    background: linear-gradient(135deg, #1c1c1c, #33280f);
    position: relative
}

.bs {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 11px;
    font-weight: 600;
    background: var(--ac);
    color: #1a1a1a;
    padding: 2px 9px;
    border-radius: 99px
}

.pc {
    display: flex;
    flex-direction: column
}

.pc .m {
    font-size: 12px;
    color: var(--mu);
    margin: 2px 0 14px
}

.pc a {
    margin-top: auto;
    font-size: 14px;
    font-weight: 600;
    color: var(--acd)
}

.pc a:hover {
    text-decoration: underline
}

.cat {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--acd)
}

.empty {
    color: var(--mu);
    padding: 30px 0;
    display: none
}

.more {
    text-align: center;
    margin-top: 32px
}

.more .btn {
    color: var(--tx)
}

.shop {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 34px
}

.shop a {
    display: block;
    text-align: center;
    padding: 18px;
    border: 1px solid var(--ln);
    border-radius: 16px;
    background: var(--bg);
    font-weight: 600
}

.shop a:hover {
    border-color: var(--ac)
}

.shop small {
    display: block;
    color: var(--mu);
    font-weight: 400
}

.ph {
    padding: 56px 0 8px
}

footer {
    padding: 28px 0;
    border-top: 1px solid var(--ln);
    color: var(--mu);
    font-size: 14px
}

.ct {
    display: grid;
    gap: 6px;
    color: var(--mu)
}

.ct b {
    color: var(--tx)
}

@media(max-width:760px) {
    .g2 {
        grid-template-columns: 1fr
    }

    section {
        padding: 54px 0
    }

    #mb {
        display: block
    }

    .links {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 64px;
        background: var(--bg);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 20px 16px;
        border-bottom: 1px solid var(--ln)
    }

    .links.open {
        display: flex
    }

    .links a {
        padding: 11px 0
    }

    .links .toko {
        text-align: center;
        margin-top: 6px
    }
}

/* ===== Animasi & gambar ===== */
body {
    animation: fi .6s ease both
}

@keyframes fi {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes up {
    from {
        opacity: 0;
        transform: translateY(26px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.hero {
    background: linear-gradient(135deg, rgba(17, 17, 17, .93) 30%, rgba(42, 28, 8, .78)), url("https://loremflickr.com/1400/700/mining,truck?lock=7") center/cover #111
}

.hero .w>* {
    animation: up .8s cubic-bezier(.2, .7, .2, 1) both
}

.hero .w>:nth-child(2) {
    animation-delay: .1s
}

.hero .w>:nth-child(3) {
    animation-delay: .2s
}

.hero .w>:nth-child(4) {
    animation-delay: .3s
}

header {
    transition: box-shadow .3s
}

header.sc {
    box-shadow: 0 4px 22px rgba(0, 0, 0, .1)
}

.rv {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--d, 0s)
}

.rv.in {
    opacity: 1;
    transform: none
}

.card {
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
    border-color: var(--ac)
}

.rv.in.card:hover {
    transform: translateY(-5px)
}

.btn,
.chip,
.shop a,
.ib {
    transition: transform .2s ease, filter .2s ease, background .2s ease, border-color .2s ease
}

.btn:hover,
.shop a:hover {
    transform: translateY(-2px)
}

.chip:hover {
    border-color: var(--ac)
}

.pi {
    height: 160px;
    overflow: hidden
}

.pi img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .6s ease, transform .6s ease
}

.pi img.ld {
    opacity: 1
}

.pc:hover .pi img {
    transform: scale(1.08)
}

.bs {
    z-index: 1
}

@media (prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }

    .rv {
        opacity: 1;
        transform: none
    }
}

/* ===== Hero Slider ===== */
.sl {
    position: relative;
    height: min(82vh, 620px);
    min-height: 460px;
    background: #111;
    color: #fff;
    overflow: hidden
}

.sd {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s
}

.sd.on {
    opacity: 1;
    visibility: visible;
    z-index: 1
}

.sd .bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #111 30%, #2a1c08)
}

.sd .bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 10, 10, .88) 15%, rgba(10, 10, 10, .35))
}

.sd .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity .8s ease, transform 7s linear
}

.sd .bg img.ld {
    opacity: 1
}

.sd.on .bg img {
    transform: scale(1.12)
}

.sd .w {
    position: relative;
    z-index: 2;
    width: 100%
}

.sd h1 {
    font-size: clamp(32px, 6vw, 60px);
    line-height: 1.1;
    margin: 0 0 16px;
    letter-spacing: -.03em;
    max-width: 700px
}

.sd h1 b {
    color: var(--ac)
}

.sd p {
    max-width: 520px;
    color: #d8d8d2;
    margin: 0 0 28px
}

.sd .w>* {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1)
}

.sd.on .w>* {
    opacity: 1;
    transform: none
}

.sd.on .w>:nth-child(2) {
    transition-delay: .15s
}

.sd.on .w>:nth-child(3) {
    transition-delay: .3s
}

.sd.on .w>:nth-child(4) {
    transition-delay: .45s
}

.sa {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(0, 0, 0, .35);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background .2s, border-color .2s
}

.sa:hover {
    background: var(--ac);
    border-color: var(--ac);
    color: #1a1a1a
}

.sa.pv {
    left: 16px
}

.sa.nx {
    right: 16px
}

.dots {
    position: absolute;
    bottom: 22px;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 8px
}

.dots button {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: width .3s, background .3s
}

.dots button.on {
    width: 28px;
    background: var(--ac)
}

@media(max-width:760px) {
    .sa {
        display: none
    }

    .sl {
        min-height: 420px
    }
}

@media (prefers-reduced-motion:reduce) {

    .sd .bg img,
    .sd.on .bg img {
        transform: none
    }
}

/* ===== Layout lebar penuh ===== */
:root {
    --max: 1440px;
    --pad: clamp(20px, 5vw, 80px)
}

.w {
    max-width: var(--max);
    padding: 0 var(--pad)
}

.grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px
}

.g2 {
    gap: clamp(32px, 6vw, 96px)
}

.alt {
    border-block: 0
}

section {
    padding: clamp(56px, 8vw, 104px) 0
}

.sd h1 {
    max-width: 760px
}

.sd p {
    max-width: 560px
}

/* ===== Full width edge-to-edge ===== */
:root {
    --max: none;
    --pad: clamp(20px, 4vw, 64px)
}

.w {
    max-width: none;
    width: 100%;
    margin: 0
}

.sd h1 {
    max-width: 820px
}

/* ===== Hero setinggi layar penuh ===== */
.sl {
    height: calc(100vh - 64px);
    height: calc(100svh - 64px);
    min-height: 460px
}

@media(max-width:760px) {
    .sl {
        min-height: 460px
    }
}

/* ===== Lebar konten (atur di sini) ===== */
:root {
    --max: 1280px;
    --pad: clamp(20px, 5vw, 64px)
}

.w {
    max-width: var(--max);
    margin: 0 auto
}

/* ===== Lebar konten: dikurangi sedikit ===== */
:root {
    --max: 1160px
}

/* ===== Footer ===== */
footer {
    background: #0f0f0f;
    color: #aeaea8;
    border-top: 0;
    padding: 0;
    font-size: 14px
}

.fc {
    background: var(--ac);
    color: #1a1a1a
}

.fc .w {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 28px;
    padding-bottom: 28px
}

.fc h3 {
    margin: 0;
    font-size: clamp(18px, 2.6vw, 24px);
    letter-spacing: -.01em
}

.fc p {
    margin: 2px 0 0;
    font-size: 14px;
    opacity: .8
}

.fc .btn {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff
}

.ft {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.4fr;
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 44px
}

.ft h4 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase
}

.ft ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px
}

.ft a {
    transition: color .2s
}

.ft a:hover {
    color: var(--ac)
}

.ft .logo {
    display: inline-block;
    color: #fff;
    font-size: 26px;
    margin-bottom: 12px
}

.ft .about {
    margin: 0 0 18px;
    max-width: 340px;
    line-height: 1.7
}

.fm {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.fm a {
    border: 1px solid #333;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 13px;
    color: #d6d6d0
}

.fm a:hover {
    border-color: var(--ac)
}

.fk li {
    display: grid;
    gap: 1px
}

.fk small {
    color: #7d7d77;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase
}

.fb {
    border-top: 1px solid #232323
}

.fb .w {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 13px;
    color: #7d7d77
}

.fb a:hover {
    color: var(--ac)
}

@media(max-width:900px) {
    .ft {
        grid-template-columns: 1fr 1fr
    }

    .ft>div:first-child {
        grid-column: 1/-1
    }
}

@media(max-width:560px) {
    .ft {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 44px
    }

    .fb .w {
        flex-direction: column;
        align-items: flex-start
    }
}

/* ===== Tentang Kami (baru) ===== */
iconify-icon {
    display: inline-block;
    vertical-align: middle
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--acd)
}

.ab {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center
}

.ab-t h2 {
    margin-bottom: 16px
}

.ab-t p {
    color: var(--mu);
    margin: 0 0 12px
}

.ic {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 22px;
    background: color-mix(in srgb, var(--ac) 18%, transparent);
    color: var(--acd);
    flex: none
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 28px
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px;
    border: 1px solid var(--ln);
    border-radius: 16px;
    background: var(--bg2)
}

.stat .ic {
    margin-bottom: 8px
}

.stat b {
    font-size: 20px;
    line-height: 1.2
}

.stat>span:last-child {
    font-size: 12.5px;
    color: var(--mu)
}

.abw {
    position: relative
}

.abw::before {
    content: "";
    position: absolute;
    inset: 16px -16px -16px 16px;
    border: 2px solid var(--ac);
    border-radius: 26px;
    opacity: .8
}

.ab-i {
    position: relative;
    z-index: 1;
    aspect-ratio: 4/5;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #1c1c1c, #33280f)
}

.ab-i img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.ab-i::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .65))
}

.badge {
    position: absolute;
    z-index: 2;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 16px;
    color: #fff;
    background: rgba(15, 15, 15, .78);
    backdrop-filter: blur(8px)
}

.badge .ic {
    background: var(--ac);
    color: #1a1a1a
}

.badge b {
    display: block;
    font-size: 15px;
    line-height: 1.3
}

.badge small {
    color: #cfcfc8;
    font-size: 12.5px
}

.brands {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: clamp(44px, 6vw, 72px);
    padding: 18px 22px;
    border: 1px solid var(--ln);
    border-radius: 18px;
    background: var(--bg2)
}

.brands>span {
    color: var(--mu);
    font-size: 14px;
    margin-right: 6px
}

.brands b {
    padding: 6px 16px;
    border-radius: 99px;
    border: 1px solid var(--ln);
    background: var(--bg);
    font-size: 14px;
    font-weight: 600
}

.vm {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
    margin-top: 20px
}

.vis2 {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: 22px;
    background: var(--ac);
    color: #1a1a1a
}

.vis2 .ic {
    background: #1a1a1a;
    color: var(--ac)
}

.vis2 h3,
.mis h3 {
    margin: 16px 0 10px;
    font-size: 22px
}

.vis2 p {
    margin: 0;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.55;
    position: relative
}

.bg-ic {
    position: absolute;
    right: -18px;
    bottom: -26px;
    font-size: 170px;
    opacity: .12
}

.mis {
    padding: 30px;
    border: 1px solid var(--ln);
    border-radius: 22px;
    background: var(--bg2)
}

.mis>h3 {
    margin-top: 16px
}

.mis ul {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 26px
}

.mis li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--mu);
    font-size: 14.5px;
    line-height: 1.55
}

.mis li .ic {
    width: 36px;
    height: 36px;
    font-size: 18px
}

@media(max-width:900px) {

    .ab,
    .vm {
        grid-template-columns: 1fr
    }

    .ab-i {
        aspect-ratio: 16/10
    }

    .abw::before {
        inset: 12px -10px -12px 10px
    }
}

@media(max-width:560px) {
    .mis ul {
        grid-template-columns: 1fr
    }

    .stats {
        gap: 8px
    }

    .stat {
        padding: 12px
    }

    .stat b {
        font-size: 16px
    }

    .stat .ic {
        width: 36px;
        height: 36px;
        font-size: 18px
    }

    .vis2,
    .mis {
        padding: 24px
    }
}

/* ===== Harga produk ===== */
.pf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--ln)
}

.pf a {
    margin-top: 0
}

.pr {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.01em
}

.pr.no {
    font-size: 14px;
    font-weight: 600;
    color: var(--mu)
}

/* ===== Keranjang ===== */
.links {
    margin-left: auto
}

.cb {
    position: relative;
    margin-left: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--ln);
    background: none;
    color: var(--tx);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: border-color .2s, transform .2s
}

.cb:hover {
    border-color: var(--ac);
    transform: translateY(-1px)
}

.cn {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 99px;
    background: var(--ac);
    color: #1a1a1a;
    font-size: 11px;
    font-weight: 700;
    display: grid;
    place-items: center
}

.cn[hidden] {
    display: none
}

.add {
    border: 0;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 99px;
    background: var(--ac);
    color: #1a1a1a;
    transition: filter .2s, transform .2s
}

.add:hover {
    filter: brightness(1.08);
    transform: translateY(-1px)
}

.add.ok {
    background: #1a1a1a;
    color: #fff
}

.drw {
    position: fixed;
    inset: 0;
    z-index: 60;
    visibility: hidden;
    transition: visibility .3s
}

.drw.on {
    visibility: visible
}

.ov {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    transition: opacity .3s
}

.drw.on .ov {
    opacity: 1
}

.drw aside {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 100%);
    display: flex;
    flex-direction: column;
    background: var(--bg2);
    color: var(--tx);
    box-shadow: -10px 0 40px rgba(0, 0, 0, .25);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.2, .7, .2, 1)
}

.drw.on aside {
    transform: none
}

.dh {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--ln)
}

.dh h3 {
    margin: 0;
    font-size: 18px
}

.dh h3 span {
    color: var(--acd)
}

.x {
    border: 0;
    background: none;
    color: var(--tx);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%
}

.x:hover {
    background: var(--bg)
}

.cl {
    list-style: none;
    margin: 0;
    padding: 8px 20px;
    flex: 1;
    overflow: auto
}

.ci {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid var(--ln)
}

.cx {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 1px
}

.cx b {
    font-size: 14.5px;
    line-height: 1.35
}

.cx small {
    color: var(--mu);
    font-size: 12px
}

.cx span {
    font-weight: 700;
    font-size: 14px;
    margin-top: 3px
}

.qt {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--ln);
    border-radius: 99px;
    padding: 2px
}

.qt button {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 0;
    background: var(--bg);
    color: var(--tx);
    cursor: pointer;
    font-size: 16px;
    line-height: 1
}

.qt button:hover {
    background: var(--ac);
    color: #1a1a1a
}

.qt em {
    font-style: normal;
    min-width: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 600
}

.rm {
    border: 0;
    background: none;
    color: var(--mu);
    font-size: 22px;
    cursor: pointer;
    width: 28px;
    height: 28px
}

.rm:hover {
    color: #d33
}

.em2 {
    list-style: none;
    text-align: center;
    color: var(--mu);
    padding: 60px 10px;
    line-height: 1.7
}

.df {
    padding: 16px 20px calc(18px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--ln);
    display: grid;
    gap: 10px
}

.tt {
    display: flex;
    justify-content: space-between;
    align-items: baseline
}

.tt b {
    font-size: 22px;
    letter-spacing: -.01em
}

.df small {
    color: var(--mu);
    font-size: 12px;
    margin-top: -6px
}

.df small:empty {
    display: none
}

.df input,
.df textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--ln);
    border-radius: 12px;
    background: var(--bg);
    color: var(--tx);
    font: inherit;
    font-size: 14px;
    resize: none
}

.wa {
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    font-size: 15px;
    padding: 13px;
    border-radius: 99px;
    background: var(--ac);
    color: #1a1a1a;
    transition: filter .2s
}

.wa:hover {
    filter: brightness(1.08)
}

.wa:disabled {
    opacity: .4;
    cursor: not-allowed
}

.clr {
    border: 0;
    background: none;
    color: var(--mu);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline
}

.clr[hidden] {
    display: none
}

.toast {
    position: fixed;
    left: 50%;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 70;
    transform: translate(-50%, 20px);
    opacity: 0;
    pointer-events: none;
    background: #1a1a1a;
    color: #fff;
    padding: 10px 18px;
    border-radius: 99px;
    font-size: 13.5px;
    transition: opacity .25s, transform .25s;
    max-width: 90vw;
    text-align: center
}

.toast.on {
    opacity: 1;
    transform: translate(-50%, 0)
}

body.lock {
    overflow: hidden
}

@media(max-width:760px) {
    .cb {
        margin-left: auto
    }

    #mb {
        margin-left: 8px
    }
}

/* ===== Scroll to top ===== */
.top {
    position: fixed;
    right: clamp(16px, 3vw, 32px);
    bottom: calc(clamp(16px, 3vw, 32px) + env(safe-area-inset-bottom, 0px));
    z-index: 50;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    display: grid;
    place-items: center;
    cursor: pointer;
    background: var(--ac);
    color: #1a1a1a;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .3s, transform .3s, visibility .3s, filter .2s
}

.top.on {
    opacity: 1;
    visibility: visible;
    transform: none
}

.top:hover {
    filter: brightness(1.08);
    transform: translateY(-3px)
}