/* ==========================================================
   Rakmanis — main.css
   Berlaku di semua halaman.

   Bahasa visual: pink dominan, sudut membulat besar, bayangan
   merah muda yang lembut, aksen pita & tepi lapisan gula.

   Daftar isi:
   01. Token & dasar
   02. Utilitas (container, tombol, badge, eyebrow)
   03. Header & navigasi
   04. Breadcrumb
   05. Katalog WooCommerce (shop)
   06. Kartu produk (sweetcard)
   07. Halaman produk tunggal
   08. Keranjang & checkout
   09. Halaman & artikel
   10. Empty state, 404, paginasi
   11. Footer
   12. Tombol WhatsApp mengambang
   13. Responsif
   ========================================================== */

/* ---------- 01. TOKEN & DASAR ---------- */

:root {
    /* Warna dasar disuntik ulang oleh Customizer lewat inline style. */
    --rm-ink: #4A2140;
    --rm-pink: #C93B78;
    --rm-krim: #F3C969;
    --rm-paper: #FFF8FB;

    /* Turunan */
    --rm-ink-2: #63305A;
    --rm-ink-soft: #8E7086;
    --rm-paper-2: #FFEAF3;
    --rm-line: #F6CBDF;
    --rm-line-soft: #FCE4EE;
    --rm-candy: #FF9EC4;
    --rm-ok: #2F9B7A;
    --rm-white: #FFFFFF;

    /* Tipografi */
    --rm-display: 'Baloo 2', 'Trebuchet MS', Verdana, sans-serif;
    --rm-body: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --rm-label: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Ukuran & bentuk — semuanya membulat */
    --rm-max: 1160px;
    --rm-gap: 24px;
    --rm-radius: 22px;
    --rm-radius-sm: 14px;
    --rm-pill: 999px;
    --rm-shadow: 0 14px 34px rgba(201, 59, 120, 0.13);
    --rm-shadow-lg: 0 26px 60px rgba(201, 59, 120, 0.22);
    --rm-shadow-soft: 0 6px 18px rgba(201, 59, 120, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--rm-body);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 500;
    color: var(--rm-ink);
    background: var(--rm-paper);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: var(--rm-display);
    font-weight: 700;
    line-height: 1.22;
    color: var(--rm-ink);
    margin: 0 0 0.5em;
    letter-spacing: -0.005em;
}

p { margin: 0 0 1em; }

a {
    color: var(--rm-pink);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
a:hover { color: var(--rm-ink); }

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

/* Semua angka uang pakai angka selebar sama (tabular) */
.rm-num,
.woocommerce .price,
.woocommerce-Price-amount,
.rm-sweetcard__harga,
.rm-harga-asal__nilai {
    font-family: var(--rm-label);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

/* Fokus keyboard terlihat jelas */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 2.5px solid var(--rm-pink);
    outline-offset: 3px;
    border-radius: 6px;
}

.rm-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--rm-ink);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--rm-pill);
    z-index: 10000;
}
.rm-skip:focus {
    left: 12px;
    top: 12px;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* ---------- 02. UTILITAS ---------- */

.rm-container {
    max-width: var(--rm-max);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.rm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--rm-label);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rm-pink);
    background: var(--rm-paper-2);
    padding: 5px 14px;
    border-radius: var(--rm-pill);
    margin-bottom: 14px;
}
.rm-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}
.rm-eyebrow--krim {
    color: var(--rm-ink);
    background: var(--rm-krim);
}

.rm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border: 2px solid transparent;
    border-radius: var(--rm-pill);
    font-family: var(--rm-body);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
                transform 0.18s ease, box-shadow 0.18s ease;
}
.rm-btn--pink {
    background: var(--rm-pink);
    color: #fff;
    box-shadow: 0 8px 20px rgba(201, 59, 120, 0.28);
}
.rm-btn--pink:hover {
    background: var(--rm-ink);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(74, 33, 64, 0.3);
}
.rm-btn--cream {
    background: var(--rm-white);
    color: var(--rm-pink);
    border-color: var(--rm-white);
    box-shadow: var(--rm-shadow-soft);
}
.rm-btn--cream:hover {
    background: var(--rm-ink);
    border-color: var(--rm-ink);
    color: #fff;
    transform: translateY(-2px);
}
.rm-btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}
.rm-btn--ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}
.rm-btn--outline {
    background: var(--rm-white);
    color: var(--rm-ink);
    border-color: var(--rm-line);
}
.rm-btn--outline:hover {
    border-color: var(--rm-pink);
    color: var(--rm-pink);
    background: var(--rm-paper-2);
}
.rm-btn--paper {
    background: var(--rm-white);
    color: var(--rm-pink);
}
.rm-btn--paper:hover { background: var(--rm-ink); color: #fff; }
.rm-btn--small { padding: 9px 18px; font-size: 13.5px; }
.rm-btn--large { padding: 16px 34px; font-size: 16.5px; }
.rm-btn--block { display: flex; width: 100%; }

.rm-badge {
    display: inline-block;
    font-family: var(--rm-label);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 5px 12px;
    border-radius: var(--rm-pill);
    background: var(--rm-ink);
    color: #fff;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(74, 33, 64, 0.18);
}
.rm-badge--sale { background: var(--rm-pink); }
.rm-badge--unggulan { background: var(--rm-krim); color: var(--rm-ink); }
.rm-badge--preorder { background: var(--rm-ink-2); }
.rm-badge--ready { background: var(--rm-ok); }
.rm-badge--terbatas { background: var(--rm-krim); color: var(--rm-ink); }

.rm-link-arrow {
    font-family: var(--rm-label);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    padding: 8px 18px;
    border-radius: var(--rm-pill);
    background: var(--rm-paper-2);
    transition: background 0.16s ease, color 0.16s ease;
}
.rm-link-arrow::after { content: ' \2192'; }
.rm-link-arrow:hover { background: var(--rm-pink); color: #fff; }

.rm-empty {
    grid-column: 1 / -1;
    color: var(--rm-ink-soft);
    background: var(--rm-paper-2);
    border-radius: var(--rm-radius);
    padding: 26px 28px;
    margin: 0;
}

/* Grid berulang */
.rm-grid-3,
.rm-grid-4 {
    display: grid;
    gap: var(--rm-gap);
}
.rm-grid-3 { grid-template-columns: repeat(3, 1fr); }
.rm-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 03. HEADER ---------- */

.rm-header {
    background: rgba(255, 248, 251, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--rm-ink);
    position: sticky;
    top: 0;
    z-index: 500;
    border-bottom: 1.5px solid var(--rm-line-soft);
    transition: box-shadow 0.22s ease, background 0.22s ease;
}
.rm-header.is-scrolled {
    background: rgba(255, 248, 251, 0.98);
    box-shadow: 0 6px 26px rgba(201, 59, 120, 0.1);
}
.rm-header__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 78px;
}

.rm-brand { flex-shrink: 0; }
.rm-brand__link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--rm-ink);
}
.rm-brand__mark {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--rm-candy), var(--rm-pink));
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 5px 14px rgba(201, 59, 120, 0.28);
}
.rm-brand__mark svg { width: 23px; height: 23px; }
.rm-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.rm-brand__name {
    font-family: var(--rm-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--rm-ink);
}
.rm-brand__tag {
    font-family: var(--rm-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rm-pink);
}
.custom-logo-link img { max-height: 46px; width: auto; }

.rm-nav { margin-left: auto; }
.rm-nav__list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.rm-nav__list a {
    display: block;
    color: var(--rm-ink);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--rm-pill);
    transition: color 0.15s ease, background 0.15s ease;
}
.rm-nav__list a:hover,
.rm-nav__list .current-menu-item > a {
    color: var(--rm-pink);
    background: var(--rm-paper-2);
}
.rm-nav__list .sub-menu {
    display: none;
    position: absolute;
    background: var(--rm-white);
    padding: 10px;
    border-radius: var(--rm-radius-sm);
    min-width: 200px;
    list-style: none;
    margin-top: 10px;
    box-shadow: var(--rm-shadow);
    border: 1.5px solid var(--rm-line-soft);
}
.rm-nav__list li { position: relative; }
.rm-nav__list li:hover > .sub-menu,
.rm-nav__list li:focus-within > .sub-menu { display: block; }
.rm-nav__list .sub-menu a { padding: 9px 14px; }
.rm-nav__mobile-cta { display: none; }

.rm-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.rm-iconbtn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rm-paper-2);
    border: none;
    border-radius: 50%;
    color: var(--rm-ink);
    cursor: pointer;
    position: relative;
    padding: 0;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.rm-iconbtn:hover {
    background: var(--rm-pink);
    color: #fff;
    transform: translateY(-1px);
}
.rm-iconbtn svg { width: 21px; height: 21px; }

.rm-cart-link__count {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: var(--rm-pill);
    background: var(--rm-line);
    color: var(--rm-ink);
    font-family: var(--rm-label);
    font-size: 11px;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
    border: 2px solid var(--rm-paper);
}
.rm-cart-link__count.is-filled { background: var(--rm-pink); color: #fff; }

.rm-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: var(--rm-paper-2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}
.rm-burger span {
    display: block;
    height: 2.5px;
    width: 20px;
    border-radius: 2px;
    background: var(--rm-ink);
    margin: 0 auto;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.rm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.rm-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.rm-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.rm-searchbar {
    background: var(--rm-paper-2);
    padding: 18px 0;
    border-top: 1.5px solid var(--rm-line-soft);
}
.rm-searchform { display: flex; gap: 10px; }
.rm-searchform__input {
    flex: 1;
    padding: 13px 20px;
    border: 2px solid var(--rm-line);
    border-radius: var(--rm-pill);
    font-family: var(--rm-body);
    font-weight: 600;
    font-size: 15px;
    background: var(--rm-white);
    color: var(--rm-ink);
}
.rm-searchform__input::placeholder { color: var(--rm-ink-soft); font-weight: 500; }
.rm-searchform__input:focus { outline: none; border-color: var(--rm-pink); }
.rm-searchform__btn {
    padding: 13px 28px;
    background: var(--rm-pink);
    color: #fff;
    border: none;
    border-radius: var(--rm-pill);
    font-family: var(--rm-body);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.16s ease;
}
.rm-searchform__btn:hover { background: var(--rm-ink); }

/* ---------- 04. BREADCRUMB ---------- */

.rm-crumb {
    background: var(--rm-paper-2);
    padding: 13px 0;
    font-family: var(--rm-label);
    font-size: 13px;
    font-weight: 600;
    color: var(--rm-ink-soft);
}
.rm-crumb a { color: var(--rm-ink-soft); text-decoration: none; }
.rm-crumb a:hover { color: var(--rm-pink); }
.rm-crumb__sep { margin: 0 9px; color: var(--rm-candy); }

/* ---------- 05. KATALOG WOOCOMMERCE ---------- */

.rm-woo-wrap { padding: 48px 0 84px; }

.rm-shop-head { margin-bottom: 28px; }
.rm-shop-head__title {
    font-size: clamp(30px, 4vw, 44px);
    margin: 0 0 10px;
}
.rm-shop-head__lead {
    color: var(--rm-ink-soft);
    max-width: 580px;
    margin: 0 0 24px;
}

.rm-catfilter {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding-bottom: 4px;
}
.rm-catfilter__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border: 2px solid var(--rm-line);
    border-radius: var(--rm-pill);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--rm-ink);
    text-decoration: none;
    background: var(--rm-white);
    transition: all 0.16s ease;
}
.rm-catfilter__item:hover {
    border-color: var(--rm-candy);
    background: var(--rm-paper-2);
    color: var(--rm-pink);
    transform: translateY(-1px);
}
.rm-catfilter__item.is-active {
    background: var(--rm-pink);
    border-color: var(--rm-pink);
    color: #fff;
    box-shadow: 0 6px 16px rgba(201, 59, 120, 0.25);
}
.rm-catfilter__count {
    font-family: var(--rm-label);
    font-size: 11.5px;
    font-weight: 800;
    opacity: 0.7;
}

.rm-shop-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 22px;
    margin: 22px 0 4px;
    background: var(--rm-paper-2);
    border-radius: var(--rm-pill);
}
.woocommerce .woocommerce-result-count {
    margin: 0;
    font-family: var(--rm-label);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--rm-ink-soft);
}
.woocommerce .woocommerce-ordering { margin: 0; }
.woocommerce .woocommerce-ordering select {
    padding: 9px 18px;
    border: 2px solid var(--rm-line);
    border-radius: var(--rm-pill);
    font-family: var(--rm-body);
    font-weight: 600;
    font-size: 13.5px;
    background: var(--rm-white);
    color: var(--rm-ink);
}

/* Grid produk WooCommerce */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--rm-gap);
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
}

/* ---------- 06. KARTU PRODUK (SWEETCARD) ---------- */

.rm-sweetcard {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--rm-white);
    border: 1.5px solid var(--rm-line-soft);
    border-radius: var(--rm-radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--rm-ink);
    box-shadow: var(--rm-shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.rm-sweetcard:hover {
    transform: translateY(-5px);
    box-shadow: var(--rm-shadow);
    border-color: var(--rm-candy);
}
/* Pita kecil di sisi kartu — ciri khas kartu produk Rakmanis */
.rm-sweetcard__ribbon {
    position: absolute;
    top: 14px;
    left: 0;
    z-index: 4;
    padding: 4px 13px 4px 11px;
    border-radius: 0 var(--rm-pill) var(--rm-pill) 0;
    background: var(--rm-pink);
    color: #fff;
    font-family: var(--rm-label);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(201, 59, 120, 0.3);
}
.rm-sweetcard__link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.rm-sweetcard__media,
.rm-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: var(--rm-paper-2);
    overflow: hidden;
}
/* Tepi bergelombang seperti lelehan gula di bawah foto */
.rm-sweetcard__media::after,
.rm-card__media::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 14px;
    z-index: 2;
    background: radial-gradient(circle at 9px 14px, var(--rm-white) 9px, transparent 9.5px) 0 0 / 18px 14px repeat-x;
}
.rm-sweetcard__media img,
.rm-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.rm-sweetcard:hover .rm-sweetcard__media img,
.rm-sweetcard:hover .rm-card__media img { transform: scale(1.06); }
.rm-sweetcard__nophoto {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rm-ink-soft);
    font-size: 13.5px;
    font-weight: 600;
}
.rm-card__badges,
.rm-sweetcard__media .rm-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    z-index: 3;
}
.rm-card__badges .rm-badge { position: static; }

.rm-sweetcard__body,
.woocommerce ul.products li.product .rm-sweetcard__body {
    display: block;
    padding: 6px 20px 14px;
    flex: 1;
}
.rm-card__cat {
    display: block;
    font-family: var(--rm-label);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rm-candy);
    margin-bottom: 5px;
}
.rm-sweetcard__title,
.rm-card__title,
.woocommerce ul.products li.product .rm-card__title {
    display: block;
    font-family: var(--rm-display);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.32;
    color: var(--rm-ink);
    margin: 0 0 8px;
    padding: 0;
}

/* Harga rak mata uang asal */
.rm-harga-asal {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin: 8px 0;
}
.rm-harga-asal__label {
    font-family: var(--rm-label);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rm-ink-soft);
}
.rm-harga-asal__nilai {
    font-size: 19px;
    font-weight: 800;
    color: var(--rm-pink);
}
.rm-harga-asal__idr {
    font-family: var(--rm-label);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--rm-ink-soft);
}
.rm-harga-asal--single .rm-harga-asal__nilai { font-size: 25px; }

.rm-sweetcard__harga {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--rm-pink);
}
.rm-sweetcard__harga em {
    display: block;
    font-style: normal;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--rm-ink-soft);
    margin-top: 2px;
}

/* Harga WooCommerce di kartu */
.woocommerce ul.products li.product .price {
    display: block;
    font-family: var(--rm-label);
    font-size: 15px;
    font-weight: 800;
    color: var(--rm-pink);
    margin: 4px 0 0;
}
.woocommerce ul.products li.product .price del {
    color: var(--rm-ink-soft);
    font-weight: 600;
    opacity: 0.75;
    margin-right: 6px;
}
.woocommerce ul.products li.product .price ins { text-decoration: none; }

.rm-sweetcard__foot {
    padding: 0 20px 20px;
    margin-top: auto;
}
.woocommerce ul.products li.product .button,
.rm-sweetcard__foot .button {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 11px 16px;
    background: var(--rm-paper-2);
    color: var(--rm-pink);
    border: none;
    border-radius: var(--rm-pill);
    font-family: var(--rm-body);
    font-size: 14px;
    font-weight: 700;
    transition: background 0.16s ease, color 0.16s ease;
}
.woocommerce ul.products li.product .button:hover,
.rm-sweetcard__foot .button:hover {
    background: var(--rm-pink);
    color: #fff;
}
.woocommerce ul.products li.product .added_to_cart {
    display: block;
    text-align: center;
    margin-top: 9px;
    font-size: 13px;
    font-family: var(--rm-label);
    font-weight: 700;
}
/* Sembunyikan rating bintang bawaan di kartu supaya tampilan bersih */
.woocommerce ul.products li.product .star-rating { display: none; }

/* ---------- 07. HALAMAN PRODUK TUNGGAL ---------- */

.woocommerce div.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.woocommerce div.product .woocommerce-product-gallery { width: 100%; float: none; margin: 0; }
.woocommerce div.product .woocommerce-product-gallery img { border-radius: var(--rm-radius); }
.woocommerce div.product .summary { width: 100%; float: none; margin: 0; }
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .upsells,
.woocommerce div.product .woocommerce-product-gallery__wrapper { grid-column: 1 / -1; }

.woocommerce div.product .product_title {
    font-size: clamp(28px, 3.4vw, 38px);
    margin: 0 0 12px;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-family: var(--rm-label);
    font-size: 28px;
    font-weight: 800;
    color: var(--rm-pink);
    margin: 0 0 18px;
}
.woocommerce div.product p.price del { font-size: 19px; opacity: 0.6; color: var(--rm-ink-soft); }
.woocommerce div.product p.price ins { text-decoration: none; }

.woocommerce-product-details__short-description {
    color: var(--rm-ink-soft);
    padding-bottom: 18px;
    border-bottom: 2px dotted var(--rm-line);
}

/* Kartu rincian — daftar isian dengan titik-titik penghubung */
.rm-spec {
    background: var(--rm-paper-2);
    border-radius: var(--rm-radius);
    padding: 20px 24px;
    margin: 22px 0;
    font-family: var(--rm-label);
}
.rm-spec__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 6px;
    border-bottom: 2px dotted var(--rm-line);
    font-size: 11.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rm-pink);
    font-weight: 800;
}
.rm-spec__row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 8px 0;
    font-size: 13.5px;
}
.rm-spec__label { color: var(--rm-ink-soft); white-space: nowrap; font-weight: 600; }
.rm-spec__dots { flex: 1; border-bottom: 2px dotted var(--rm-line); margin-bottom: 4px; }
.rm-spec__value { color: var(--rm-ink); font-weight: 800; text-align: right; }

.woocommerce div.product form.cart { margin: 22px 0 14px; }
.woocommerce div.product form.cart .quantity { margin-right: 10px; }
.woocommerce .quantity .qty {
    width: 84px;
    padding: 13px 10px;
    border: 2px solid var(--rm-line);
    border-radius: var(--rm-pill);
    font-family: var(--rm-label);
    font-weight: 700;
    text-align: center;
    background: var(--rm-white);
    color: var(--rm-ink);
}
.woocommerce div.product form.cart .button {
    padding: 14px 34px;
    background: var(--rm-pink);
    color: #fff;
    border: none;
    border-radius: var(--rm-pill);
    font-family: var(--rm-body);
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(201, 59, 120, 0.28);
}
.woocommerce div.product form.cart .button:hover { background: var(--rm-ink); color: #fff; }

.rm-wa-product { margin-bottom: 16px; }

.rm-trust-mini {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.rm-trust-mini li {
    position: relative;
    padding: 5px 14px 5px 30px;
    border-radius: var(--rm-pill);
    background: var(--rm-paper-2);
    font-size: 13px;
    font-weight: 700;
    color: var(--rm-ink);
}
.rm-trust-mini li::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 12px;
    width: 9px;
    height: 5px;
    border-left: 2.5px solid var(--rm-ok);
    border-bottom: 2.5px solid var(--rm-ok);
    transform: rotate(-45deg);
}

.woocommerce div.product .product_meta {
    font-family: var(--rm-label);
    font-size: 13px;
    font-weight: 600;
    color: var(--rm-ink-soft);
    padding-top: 16px;
    border-top: 2px dotted var(--rm-line);
}

/* Tab produk */
.woocommerce div.product .woocommerce-tabs { margin-top: 56px; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    margin: 0 0 28px;
    border: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 10px 22px;
    border-radius: var(--rm-pill);
    background: var(--rm-paper-2);
    font-family: var(--rm-body);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--rm-ink-soft);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #fff;
    background: var(--rm-pink);
}
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 23px; }

.woocommerce .related > h2,
.woocommerce .upsells > h2 {
    font-size: 26px;
    margin-bottom: 24px;
    padding-top: 44px;
    border-top: 2px dotted var(--rm-line);
}

/* ---------- 08. KERANJANG & CHECKOUT ---------- */

.woocommerce table.shop_table {
    border: none;
    border-radius: var(--rm-radius);
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    background: var(--rm-white);
    box-shadow: var(--rm-shadow-soft);
}
.woocommerce table.shop_table th {
    background: var(--rm-paper-2);
    font-family: var(--rm-label);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--rm-pink);
    padding: 15px 18px;
    border: none;
}
.woocommerce table.shop_table td {
    padding: 16px 18px;
    border-top: 1.5px solid var(--rm-line-soft);
    vertical-align: middle;
}
.woocommerce table.shop_table .product-name a {
    font-weight: 700;
    text-decoration: none;
    color: var(--rm-ink);
}
.woocommerce table.shop_table .product-name a:hover { color: var(--rm-pink); }
.woocommerce table.shop_table img { width: 64px; border-radius: var(--rm-radius-sm); }
.woocommerce a.remove {
    color: var(--rm-ink-soft) !important;
    font-weight: 400;
}
.woocommerce a.remove:hover {
    background: var(--rm-pink);
    color: #fff !important;
}

.woocommerce .cart_totals h2,
.woocommerce-checkout h3 {
    font-size: 21px;
    padding-bottom: 12px;
    border-bottom: 2px dotted var(--rm-line);
    margin-bottom: 16px;
}
.woocommerce .cart_totals table {
    font-family: var(--rm-label);
    font-size: 14.5px;
    font-weight: 700;
    box-shadow: none;
}
.woocommerce .cart_totals .order-total .amount {
    font-size: 20px;
    color: var(--rm-pink);
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-cart .cart-collaterals .cart_totals {
    background: var(--rm-paper-2);
    border-radius: var(--rm-radius);
    padding: 24px;
}

.rm-cart-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 22px;
    padding: 18px 24px;
    background: var(--rm-paper-2);
    border-radius: var(--rm-radius);
    font-size: 14.5px;
    font-weight: 600;
}

.woocommerce .button,
.woocommerce input.button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce #respond input#submit {
    background: var(--rm-pink);
    color: #fff;
    border-radius: var(--rm-pill);
    font-family: var(--rm-body);
    font-weight: 700;
    padding: 13px 26px;
    border: none;
}
.woocommerce .button:hover,
.woocommerce input.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce #respond input#submit:hover {
    background: var(--rm-ink);
    color: #fff;
}
.woocommerce .button.alt,
.woocommerce #place_order { background: var(--rm-pink); }

/* Form checkout */
.woocommerce form .form-row { padding: 0 0 16px; margin: 0; }
.woocommerce form .form-row label {
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 7px;
    display: block;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single {
    width: 100%;
    padding: 13px 18px;
    border: 2px solid var(--rm-line);
    border-radius: var(--rm-radius-sm);
    font-family: var(--rm-body);
    font-weight: 600;
    font-size: 15px;
    background: var(--rm-white);
    color: var(--rm-ink);
    height: auto;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--rm-pink);
    outline: none;
}

.rm-checkout-note {
    background: var(--rm-paper-2);
    border-radius: var(--rm-radius);
    padding: 20px 24px;
    margin: 22px 0;
}
.rm-checkout-note__title {
    font-family: var(--rm-label);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 10px;
    color: var(--rm-pink);
}
.rm-checkout-note ul { margin: 0; padding-left: 20px; }
.rm-checkout-note li { font-size: 13.5px; color: var(--rm-ink-soft); margin-bottom: 6px; }

/* Notifikasi WooCommerce */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top: none;
    border-left: 4px solid var(--rm-pink);
    background: var(--rm-paper-2);
    border-radius: var(--rm-radius-sm);
    color: var(--rm-ink);
    font-size: 14.5px;
    font-weight: 600;
    padding: 16px 22px 16px 48px;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { color: var(--rm-pink); top: 17px; }
.woocommerce-message { border-left-color: var(--rm-ok); }
.woocommerce-message::before { color: var(--rm-ok); }

/* Halaman terima kasih */
.woocommerce .woocommerce-order {
    max-width: 720px;
}
.woocommerce ul.order_details {
    background: var(--rm-paper-2);
    border-radius: var(--rm-radius);
    padding: 24px;
    margin: 24px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 18px;
    list-style: none;
}
.woocommerce ul.order_details li {
    border: none;
    margin: 0;
    padding: 0;
    float: none;
    font-family: var(--rm-label);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rm-ink-soft);
}
.woocommerce ul.order_details li strong {
    display: block;
    font-size: 15.5px;
    letter-spacing: 0;
    text-transform: none;
    color: var(--rm-ink);
    margin-top: 4px;
}

/* Akun saya */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 11px 20px;
    margin-bottom: 4px;
    border-radius: var(--rm-pill);
    text-decoration: none;
    color: var(--rm-ink);
    font-weight: 700;
    font-size: 14.5px;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: var(--rm-pink);
    color: #fff;
}

/* ---------- 09. HALAMAN & ARTIKEL ---------- */

.rm-page { padding: 48px 0 84px; }
.rm-page__head { margin-bottom: 36px; }
.rm-page__head--narrow { max-width: 720px; }
.rm-page__title { font-size: clamp(30px, 4vw, 46px); margin: 0 0 12px; }
.rm-page__desc { color: var(--rm-ink-soft); max-width: 640px; }
.rm-page__search { max-width: 480px; margin-top: 22px; }

.rm-artcard {
    display: block;
    text-decoration: none;
    color: var(--rm-ink);
    background: var(--rm-white);
    border: 1.5px solid var(--rm-line-soft);
    border-radius: var(--rm-radius);
    padding: 14px 14px 20px;
    box-shadow: var(--rm-shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.rm-artcard:hover {
    transform: translateY(-4px);
    box-shadow: var(--rm-shadow);
    border-color: var(--rm-candy);
}
.rm-artcard__media {
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--rm-paper-2);
    border-radius: var(--rm-radius-sm);
    overflow: hidden;
    margin-bottom: 16px;
}
.rm-artcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.rm-artcard:hover .rm-artcard__media img { transform: scale(1.04); }
.rm-artcard__date {
    display: block;
    font-family: var(--rm-label);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rm-candy);
    margin: 0 6px 6px;
}
.rm-artcard h3 { font-size: 18.5px; margin: 0 6px 8px; }
.rm-artcard p { font-size: 14px; color: var(--rm-ink-soft); margin: 0 6px; }

.rm-single { padding: 48px 0 84px; }
.rm-single__narrow { max-width: 720px; margin: 0 auto; }
.rm-single__head { margin-bottom: 28px; }
.rm-single__title { font-size: clamp(31px, 4.4vw, 46px); margin: 0 0 14px; }
.rm-single__meta {
    font-family: var(--rm-label);
    font-size: 13px;
    font-weight: 700;
    color: var(--rm-ink-soft);
    margin: 0;
}
.rm-single__meta span { margin: 0 9px; color: var(--rm-candy); }
.rm-single__cover {
    margin: 0 0 36px;
    border-radius: var(--rm-radius);
    overflow: hidden;
    box-shadow: var(--rm-shadow);
}

.rm-prose { font-size: 17px; line-height: 1.8; }
.rm-prose h2 { font-size: 28px; margin: 42px 0 14px; }
.rm-prose h3 { font-size: 22px; margin: 32px 0 12px; }
.rm-prose ul, .rm-prose ol { padding-left: 22px; margin-bottom: 1.2em; }
.rm-prose li { margin-bottom: 8px; }
.rm-prose li::marker { color: var(--rm-candy); }
.rm-prose img { border-radius: var(--rm-radius); margin: 28px 0; }
.rm-prose blockquote {
    border-left: 4px solid var(--rm-candy);
    background: var(--rm-paper-2);
    border-radius: 0 var(--rm-radius) var(--rm-radius) 0;
    padding: 18px 24px;
    margin: 28px 0;
    font-family: var(--rm-display);
    font-size: 19px;
    color: var(--rm-ink);
}
.rm-prose blockquote p:last-child { margin-bottom: 0; }
.rm-prose code {
    font-family: var(--rm-label);
    font-size: 14.5px;
    font-weight: 700;
    background: var(--rm-paper-2);
    color: var(--rm-pink);
    padding: 2px 8px;
    border-radius: 6px;
}
.rm-prose table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 24px 0;
    border-radius: var(--rm-radius-sm);
    overflow: hidden;
}
.rm-prose th, .rm-prose td {
    padding: 12px 16px;
    border-bottom: 1.5px solid var(--rm-line-soft);
    text-align: left;
    font-size: 15px;
}
.rm-prose th {
    background: var(--rm-paper-2);
    font-family: var(--rm-label);
    font-weight: 800;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rm-pink);
}

.rm-pagelinks { font-family: var(--rm-label); font-weight: 700; margin-top: 24px; }

.rm-single__cta {
    margin: 48px 0 0;
    padding: 30px;
    background: var(--rm-paper-2);
    border-radius: var(--rm-radius);
    text-align: center;
}
.rm-single__cta p { margin: 0 0 16px; font-weight: 700; font-size: 17px; }

.rm-widget { margin-bottom: 32px; }
.rm-widget__title { font-size: 18px; margin-bottom: 12px; }

/* ---------- 09b. KOMENTAR ---------- */

.rm-comments {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 2px dotted var(--rm-line);
}
.rm-comments__title { font-size: 23px; margin-bottom: 24px; }
.rm-comments__list { list-style: none; margin: 0 0 32px; padding: 0; }
.rm-comments__list .comment-body {
    padding: 20px 0;
    border-bottom: 1.5px solid var(--rm-line-soft);
}
.rm-comments__list .comment-author .avatar {
    border-radius: 50%;
    float: left;
    margin-right: 14px;
}
.rm-comments__list .comment-metadata {
    font-family: var(--rm-label);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--rm-ink-soft);
}
.rm-comments__list ol.children { list-style: none; margin-left: 32px; }
.rm-comments__closed { color: var(--rm-ink-soft); font-weight: 600; }
.comment-respond .comment-form-comment textarea,
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"] {
    width: 100%;
    max-width: 560px;
    padding: 13px 18px;
    border: 2px solid var(--rm-line);
    border-radius: var(--rm-radius-sm);
    font-family: var(--rm-body);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 14px;
    display: block;
}
.comment-respond label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; }

/* ---------- 10. EMPTY STATE, 404, PAGINASI ---------- */

.rm-empty-state {
    text-align: center;
    padding: 64px 28px;
    max-width: 600px;
    margin: 0 auto;
    background: var(--rm-paper-2);
    border-radius: 36px;
}
.rm-empty-state__title {
    font-family: var(--rm-display);
    font-size: 27px;
    font-weight: 700;
    margin: 0 0 10px;
}
.rm-empty-state p { color: var(--rm-ink-soft); }
.rm-empty-state__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 26px;
}
.rm-empty-state .rm-page__search { margin: 26px auto 0; }
/* Ilustrasi "toples permen kosong" untuk keranjang kosong */
.rm-empty-state__slip {
    width: 104px;
    height: 104px;
    margin: 0 auto 26px;
    padding: 22px 24px;
    background: var(--rm-white);
    border-radius: 50%;
    box-shadow: var(--rm-shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
}
.rm-empty-state__slip span {
    display: block;
    height: 8px;
    width: 100%;
    border-radius: var(--rm-pill);
    background: var(--rm-line-soft);
    margin: 0 auto;
}
.rm-empty-state__slip span:nth-child(2) { width: 70%; background: var(--rm-line); }
.rm-empty-state__slip span:nth-child(3) { width: 45%; }

.rm-404__code {
    display: block;
    font-family: var(--rm-display);
    font-size: 76px;
    font-weight: 800;
    color: var(--rm-candy);
    line-height: 1;
    margin-bottom: 14px;
}

.woocommerce nav.woocommerce-pagination,
.rm-page .navigation.pagination,
.navigation.pagination {
    margin-top: 48px;
    text-align: center;
}
.woocommerce nav.woocommerce-pagination ul { border: none; display: inline-flex; gap: 8px; }
.woocommerce nav.woocommerce-pagination ul li { border: none; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border: 2px solid var(--rm-line);
    border-radius: var(--rm-pill);
    font-family: var(--rm-label);
    font-size: 14.5px;
    font-weight: 800;
    color: var(--rm-ink);
    text-decoration: none;
    background: var(--rm-white);
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.navigation.pagination a.page-numbers:hover {
    border-color: var(--rm-candy);
    background: var(--rm-paper-2);
    color: var(--rm-pink);
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.navigation.pagination .page-numbers.current {
    background: var(--rm-pink);
    border-color: var(--rm-pink);
    color: #fff;
}
.navigation.pagination .nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* ---------- 11. FOOTER ---------- */

.rm-footer {
    position: relative;
    background: var(--rm-ink);
    color: rgba(255, 255, 255, 0.78);
    margin-top: 0;
    padding-top: 18px;
}
/* Tepi bergelombang di puncak footer — tema lapisan gula lagi */
.rm-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 18px;
    background: radial-gradient(circle at 14px 0, var(--rm-paper) 14px, transparent 14.5px) 0 0 / 28px 18px repeat-x;
}
.rm-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding: 64px 24px 48px;
}
.rm-footer__name {
    font-family: var(--rm-display);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 12px;
}
.rm-footer__desc {
    font-size: 14.5px;
    line-height: 1.7;
    max-width: 400px;
    margin-bottom: 22px;
}
.rm-footer__heading {
    font-family: var(--rm-label);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rm-candy);
    margin: 0 0 16px;
}
.rm-footer__list { list-style: none; margin: 0; padding: 0; }
.rm-footer__list li { margin-bottom: 10px; }
.rm-footer__list a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
}
.rm-footer__list a:hover { color: var(--rm-candy); }

.rm-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 20px 0;
}
.rm-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.rm-footer__bottom p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}
.rm-footer__note { font-family: var(--rm-label); font-size: 12.5px; font-weight: 600; }

/* ---------- 12. TOMBOL WHATSAPP MENGAMBANG ---------- */

.rm-wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 22px 14px 18px;
    border-radius: var(--rm-pill);
    background: linear-gradient(135deg, var(--rm-candy), var(--rm-pink));
    color: #fff;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 700;
    box-shadow: var(--rm-shadow-lg);
    z-index: 900;
    transition: transform 0.2s ease, filter 0.2s ease;
}
.rm-wa-float:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    filter: saturate(1.15);
}
.rm-wa-float svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }

/* ---------- 13. RESPONSIF ---------- */

@media (max-width: 1024px) {
    .rm-grid-4,
    .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
    .rm-burger { display: flex; order: 3; margin-left: 0; }
    .rm-header__cta { display: none; }
    .rm-header__actions { order: 2; margin-left: auto; }

    .rm-nav {
        display: none;
        order: 4;
        width: 100%;
        margin-left: 0;
        padding: 10px 0 20px;
        border-top: 1.5px solid var(--rm-line-soft);
    }
    .rm-nav.is-open { display: block; }
    .rm-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
    .rm-nav__list a { display: block; padding: 12px 16px; }
    .rm-nav__list .sub-menu {
        display: block;
        position: static;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0 0 8px 16px;
        margin: 0;
    }
    .rm-nav__mobile-cta { display: block; margin-top: 18px; }

    .rm-header__inner { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }

    .rm-grid-3,
    .rm-grid-4,
    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }

    .woocommerce div.product { grid-template-columns: 1fr; gap: 32px; }
    .rm-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 560px) {
    .rm-container { padding: 0 18px; }
    .rm-grid-3,
    .rm-grid-4,
    .woocommerce ul.products { grid-template-columns: 1fr; }
    .rm-footer__grid { grid-template-columns: 1fr; padding: 48px 18px 36px; }
    .rm-woo-wrap, .rm-page, .rm-single { padding: 32px 0 56px; }
    .rm-wa-float { right: 14px; bottom: 14px; padding: 13px 17px 13px 15px; }
    .rm-wa-float__label { display: none; }
    .rm-cart-help { flex-direction: column; align-items: flex-start; }
    .rm-shop-bar { border-radius: var(--rm-radius); }
    .woocommerce table.shop_table img { width: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}
