/* ROAS1000X theme. Dunia sama dengan sales page PAM: dakwat hitam dan merah atas kertas putih.
   CSS WooCommerce dibuang (woocommerce_enqueue_styles), jadi output WC digayakan di sini.
   Komponen Tutor tak ditulis semula, cuma warna Tutor ditukar melalui variable. */

/* =========================================================
   TOKENS
   ========================================================= */
:root {
  --red: #DC2626;
  --red-deep: #B91C1C;
  --red-tint: #FCE9E9;
  --red-mid: #F2B8B8;
  --ink: #111111;
  --ink-2: #2A2A2A;
  --muted: #5C5C5C;
  --hint: #737373;
  --rule: #DEDEDA;
  --field: #8A8A85;
  --paper: #FFFFFF;
  --paper-2: #F1F1EE;
  --night: #0B0B0C;
  --on-dark: #E4E4E0;
  --on-dark-2: #A9A9A4;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --gutter: 16px;
  /* Jarak dalam kertas. Header, isi dan page biasa guna nilai sama supaya garis kiri sekata. */
  --sheet-pad: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 12.5 5 5L20 6.5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='square'/%3E%3C/svg%3E");
  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12h16m-6-6 6 6-6 6' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='square'/%3E%3C/svg%3E");
  --i-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5l14 14M19 5 5 19' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='square'/%3E%3C/svg%3E");
  --i-select: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v16m-6-6 6 6 6-6' fill='none' stroke='%23111111' stroke-width='2.6' stroke-linecap='square'/%3E%3C/svg%3E");
  --i-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3Ccircle cx='12' cy='12' r='3.2' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3C/svg%3E");
  --i-eye-off: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3Ccircle cx='12' cy='12' r='3.2' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3Cpath d='M3 3l18 18' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E");
}

/* Warna Tutor LMS. :root:root menang atas inline :root dari Tutor tanpa kira susunan. */
:root:root {
  --tutor-color-primary: #DC2626;
  --tutor-color-primary-rgb: 220, 38, 38;
  --tutor-color-primary-hover: #B91C1C;
  --tutor-color-primary-hover-rgb: 185, 28, 28;
  --tutor-body-color: #2A2A2A;
  --tutor-body-color-rgb: 42, 42, 42;
  --tutor-border-color: #DEDEDA;
  --tutor-border-color-rgb: 222, 222, 218;
}

/* =========================================================
   BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  background: var(--paper);
  scrollbar-color: var(--red) var(--night);
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--red);
  accent-color: var(--red);
  overflow-x: clip;
}
::selection { background: var(--red); color: #fff; }
::-webkit-scrollbar { width: 11px; height: 8px; }
::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background: var(--red); border: 2px solid var(--night); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
img, video { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 2px; }
b, strong { font-weight: 700; }
h1, h2, h3, h4 { text-wrap: balance; }
.num { font-variant-numeric: tabular-nums; }
.roas-ic { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -.125em; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.roas-skip:focus {
  position: fixed !important;
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 16px;
  clip: auto;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

/* =========================================================
   BUTANG (sama dengan .buy di sales page)
   ========================================================= */
.roas-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 56px;
  padding: 14px 22px 12px;
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 0;
  font-family: var(--display);
  font-variation-settings: "wdth" 84;
  font-weight: 900;
  font-size: 1.15rem;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 28px -10px rgba(220, 38, 38, .6);
  transition: background .2s, transform .25s var(--ease), box-shadow .25s;
}
.roas-btn .roas-ic { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.roas-btn:hover { background: var(--red-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 20px 34px -12px rgba(185, 28, 28, .65); }
.roas-btn:hover .roas-ic { transform: translateX(4px); }
.roas-btn:active { transform: translateY(0); }
.roas-btn:focus-visible { outline-color: var(--ink); outline-offset: 4px; }

/* =========================================================
   HEADER
   ========================================================= */
.roas-bar { flex: none; background: var(--night); color: #fff; }
.roas-bar-in {
  width: 100%;
  max-width: calc(1120px + var(--gutter) * 2);
  margin-inline: auto;
  padding: 10px calc(var(--gutter) + var(--sheet-pad));
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.roas-brand {
  display: flex;
  align-items: stretch;
  flex: none;
  padding-block: 7px;
  margin-block: -7px;
  color: #fff;
  text-decoration: none;
}
.roas-brand:hover { color: #fff; }
.roas-bar :focus-visible { outline-color: #fff; }
.wordmark {
  font-family: var(--display);
  font-variation-settings: "wdth" 70;
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1;
  background: var(--red);
  color: #fff;
  padding: .12em .2em .04em;
  transition: background .2s;
}
.roas-brand:hover .wordmark { background: var(--red-deep); }
.wordmark-sub {
  display: flex;
  align-items: center;
  padding: 0 .7em;
  font-family: var(--display);
  font-variation-settings: "wdth" 84;
  font-weight: 800;
  font-size: .82rem;
  line-height: 1.1;
  color: #fff;
  white-space: nowrap;
}

.roas-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-width: 0;
}
.roas-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.roas-menu::-webkit-scrollbar { display: none; }
.roas-menu li { flex: none; margin: 0; }
.roas-nav-link,
.roas-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--display);
  font-variation-settings: "wdth" 84;
  font-weight: 800;
  font-size: .95rem;
  line-height: 1.1;
  color: var(--on-dark);
  text-decoration: underline;
  text-decoration-color: transparent;
  white-space: nowrap;
  transition: color .2s, text-decoration-color .2s;
}
.roas-nav-link:hover,
.roas-menu a:hover,
.roas-menu .current-menu-item > a,
.roas-nav-link[aria-current="page"] {
  color: #fff;
  text-decoration-color: var(--red);
}
.roas-btn--bar {
  flex: none;
  min-height: 44px;
  padding: 0 14px;
  font-size: .95rem;
  box-shadow: none;
}
.roas-btn--bar:hover { box-shadow: none; transform: none; }
.roas-btn--bar .roas-ic { display: none; }
.roas-btn--bar:focus-visible { outline-color: #fff; outline-offset: 3px; }

/* =========================================================
   LAYOUT
   ========================================================= */
.roas-main { flex: 1 0 auto; outline: 0; }
.roas-page {
  width: 100%;
  max-width: calc(1120px + var(--gutter) * 2);
  margin-inline: auto;
  padding: 36px calc(var(--gutter) + var(--sheet-pad)) 72px;
}
/* Page biasa: kekal satu column bacaan, tapi mula dari garis kiri yang sama dengan logo. */
body:not(.roas-wide) .roas-page > * { max-width: 720px; }
.roas-head { margin: 0 0 28px; }
.roas-title {
  margin: 0;
  padding-bottom: .28em;
  border-bottom: 2px solid var(--ink);
  font-family: var(--display);
  font-variation-settings: "wdth" 70;
  font-weight: 900;
  font-size: clamp(2.2rem, 9.4vw, 3.8rem);
  line-height: .92;
  letter-spacing: -.012em;
  text-transform: uppercase;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.roas-wide .roas-title { font-size: clamp(2rem, 7.6vw, 3.2rem); }
.roas-hl {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: .06em .14em 0;
}
.roas-meta { margin: 10px 0 0; font-size: .85rem; color: var(--muted); }

/* Tutor single course: bagi ruang atas bawah, Tutor urus lebar sendiri */
.single-courses .roas-main { padding-block: 24px 56px; }

/* =========================================================
   PROSE (page biasa, post, WC)
   ========================================================= */
.roas-prose { font-size: 17px; line-height: 1.65; }
.roas-prose :where(p, ul, ol, dl, blockquote, address) { max-width: 70ch; }
.roas-prose :where(p) { margin: 0 0 1em; }
.roas-prose :where(ul, ol) { margin: 0 0 1.1em; padding-left: 1.3em; }
.roas-prose :where(li) { margin: 0 0 .4em; }
.roas-prose :where(li)::marker { color: var(--red); font-weight: 700; }
.roas-prose :where(h2, h3, h4, h5, h6) {
  margin: 1.9em 0 .55em;
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.08;
}
.roas-prose :where(h2) {
  font-variation-settings: "wdth" 74;
  font-weight: 900;
  font-size: clamp(1.7rem, 6.4vw, 2.3rem);
  line-height: .98;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.roas-prose :where(h3) { font-variation-settings: "wdth" 86; font-weight: 800; font-size: clamp(1.3rem, 5vw, 1.6rem); }
.roas-prose :where(h4, h5, h6) { font-variation-settings: "wdth" 90; font-weight: 800; font-size: 1.12rem; }
.roas-prose > :where(:first-child),
.roas-entry > :where(:first-child) { margin-top: 0; }
.roas-prose :where(strong, b) { color: var(--ink); }
.roas-prose :where(a:not([class])) {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--red);
}
.roas-prose :where(a:not([class])):hover { color: var(--red-deep); }
.roas-prose :where(hr) { margin: 2.4em 0; border: 0; border-top: 2px solid var(--ink); }
.roas-prose :where(mark) { background: var(--red-tint); color: var(--ink); padding: 0 .15em; }
.roas-prose :where(code, kbd) { font-size: .88em; background: var(--paper-2); padding: .1em .35em; }
.roas-prose :where(pre) { overflow-x: auto; padding: 16px; background: var(--ink); color: #F2F2EF; font-size: .88rem; }
.roas-prose :where(pre code) { background: none; padding: 0; }

.roas-prose :where(blockquote) {
  margin: 1.8em 0;
  padding: 14px 0 0;
  border-top: 2px solid var(--ink);
  font-family: var(--display);
  font-variation-settings: "wdth" 90;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--ink);
}
.roas-prose :where(blockquote p:last-child) { margin-bottom: 0; }
.roas-prose :where(blockquote cite) { display: block; margin-top: .6em; font-family: var(--body); font-style: normal; font-weight: 500; font-size: .85rem; color: var(--muted); }

.roas-prose :where(img) { display: block; }
.roas-prose :where(figure) { margin: 1.8em 0; }
.roas-prose :where(figcaption, .wp-caption-text) { margin-top: 8px; font-size: .82rem; line-height: 1.4; color: var(--muted); }
.roas-prose .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.roas-prose .alignright { float: right; margin: .3em 0 1em 1.4em; }
.roas-prose .aligncenter { margin-inline: auto; }
.roas-prose .alignwide {
  width: min(1120px, 100vw - var(--gutter) * 2);
  max-width: none;
  margin-inline: calc(50% - min(560px, 50vw - var(--gutter)));
}
.roas-prose .alignfull { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); }
.roas-prose .wp-caption { max-width: 100%; }

/* table */
.roas-prose :where(table) {
  width: 100%;
  margin: 0 0 1.6em;
  border-collapse: collapse;
  border-top: 2px solid var(--ink);
  font-size: .94rem;
  font-variant-numeric: tabular-nums;
}
.roas-prose :where(th, td) {
  padding: 11px 12px 11px 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.roas-prose :where(th) { font-weight: 700; color: var(--ink); }
.roas-prose :where(thead th) { font-weight: 600; font-size: .82rem; color: var(--muted); }
.roas-prose .wp-block-table { overflow-x: auto; }

/* butang dalam kandungan */
.roas-prose :where(.wp-block-button__link, .wp-element-button, input[type="submit"], button[type="submit"]):not([class*="tutor"]),
.roas-prose .wc-block-components-button:not(.is-link) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 22px 12px;
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 0;
  font-family: var(--display);
  font-variation-settings: "wdth" 84;
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s;
}
.roas-prose :where(.wp-block-button__link, .wp-element-button, input[type="submit"], button[type="submit"]):not([class*="tutor"]):hover,
.roas-prose .wc-block-components-button:not(.is-link):hover { background: var(--red-deep); color: #fff; }
.roas-prose .is-style-outline :where(.wp-block-button__link) { background: none; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.roas-prose .is-style-outline :where(.wp-block-button__link):hover { background: var(--ink); color: #fff; }

/* =========================================================
   FORM (prose + WC). :where kekalkan specificity rendah.
   ========================================================= */
.roas-prose :where(label),
.woocommerce :where(label) {
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.3;
  color: var(--ink);
}
.roas-prose :where(input:not([type]), input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"], input[type="number"], input[type="search"], input[type="date"], select, textarea),
.woocommerce :where(input:not([type]), input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"], input[type="number"], input[type="search"], input[type="date"], select, textarea) {
  display: block;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 14px 16px;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.3;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--field);
  border-radius: 0;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .15s, box-shadow .2s;
}
.roas-prose :where(textarea),
.woocommerce :where(textarea) { min-height: 140px; resize: vertical; }
.roas-prose :where(select),
.woocommerce :where(select) {
  padding-right: 48px;
  background-image: var(--i-select);
  background-repeat: no-repeat;
  background-size: 18px 18px;
  background-position: right 16px center;
  cursor: pointer;
}
.roas-prose :where(input, textarea)::placeholder,
.woocommerce :where(input, textarea)::placeholder { color: var(--hint); opacity: 1; }
.roas-prose :where(input, select, textarea):hover,
.woocommerce :where(input, select, textarea):hover { border-color: var(--ink); }
.roas-prose :where(input, select, textarea):focus,
.woocommerce :where(input, select, textarea):focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, .14);
}
.roas-prose :where(input[type="checkbox"], input[type="radio"]),
.woocommerce :where(input[type="checkbox"], input[type="radio"]) {
  width: 20px;
  height: 20px;
  margin: 0;
  flex: none;
  accent-color: var(--red);
  vertical-align: -4px;
}
.woocommerce input:-webkit-autofill,
.woocommerce input:-webkit-autofill:hover,
.woocommerce input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  box-shadow: inset 0 0 0 100px var(--paper);
  caret-color: var(--red);
}

/* search form */
.roas-prose .search-form { display: flex; gap: 8px; max-width: 560px; }
.roas-prose .search-form label { flex: 1; min-width: 0; }
.roas-prose .search-form .search-submit {
  flex: none;
  min-height: 56px;
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
}
.roas-prose .search-form .search-submit:hover { background: var(--ink-2); }
.roas-search { margin-top: 20px; }

/* =========================================================
   SENARAI POST + PAGINATION + KOMEN
   ========================================================= */
.roas-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.roas-item { margin: 0; padding: 18px 0 16px; border-bottom: 1px solid var(--rule); }
.roas-item-title {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: "wdth" 86;
  font-weight: 800;
  font-size: clamp(1.3rem, 5vw, 1.6rem);
  line-height: 1.1;
  color: var(--ink);
}
.roas-item-title a { text-decoration: underline; text-decoration-color: transparent; transition: color .2s, text-decoration-color .2s; }
.roas-item-title a:hover { color: var(--red-deep); text-decoration-color: var(--red); }
.roas-item .roas-meta { margin-top: 6px; }
.roas-item-text { margin-top: 8px; max-width: 70ch; font-size: 1rem; }
.roas-item-text p { margin: 0; }

.nav-links,
.roas-pages,
.woocommerce-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.page-numbers,
.roas-pages > a,
.roas-pages > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  font-family: var(--display);
  font-weight: 800;
  font-size: .95rem;
  color: var(--ink);
  text-decoration: none;
  box-shadow: inset 0 0 0 2px var(--rule);
  font-variant-numeric: tabular-nums;
}
a.page-numbers:hover,
.roas-pages > a:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.page-numbers.current,
.roas-pages > span.post-page-numbers.current { background: var(--ink); color: #fff; box-shadow: none; }
.page-numbers.dots { box-shadow: none; }

.roas-comments { margin-top: 48px; }
.roas-comments-title,
.comment-reply-title {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--display);
  font-variation-settings: "wdth" 86;
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.1;
  color: var(--ink);
}
.comment-list,
.comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { padding-left: 20px; }
.comment-body { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: .96rem; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.comment-author .avatar { width: 40px; height: 40px; }
.comment-author .says { display: none; }
.comment-metadata { margin: 4px 0 8px; font-size: .8rem; color: var(--muted); }
.comment-metadata a { text-decoration: none; }
.comment-respond { margin-top: 32px; }
.comment-form p { margin: 0 0 16px; }
.comment-form label { display: block; margin-bottom: 6px; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { margin: 0; font-weight: 500; }

/* =========================================================
   WOOCOMMERCE: ASAS
   ========================================================= */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce .clear { clear: both; }
.woocommerce mark { background: none; color: var(--ink); font-weight: 700; }

/* notice */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.woocommerce-notice {
  list-style: none;
  margin: 0 0 20px;
  padding: 14px 16px;
  font-size: .95rem;
  line-height: 1.45;
  color: var(--ink);
}
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}
.woocommerce-error { display: block; background: var(--red-tint); border: 2px solid var(--red); }
.woocommerce-error li { margin: 0; padding: 2px 0; font-weight: 600; }
.woocommerce-error li + li { border-top: 1px solid var(--red-mid); padding-top: 6px; margin-top: 4px; }
.woocommerce-error a { color: var(--red-deep); }
.woocommerce-message { background: var(--paper-2); border: 2px solid var(--ink); }
.woocommerce-info { background: var(--paper-2); border: 1px solid var(--rule); }
.woocommerce-message .button,
.woocommerce-info .button { order: 2; float: none; margin: 0; }

/* butang WC: default hitam (sekunder) */
.woocommerce :is(a.button, button.button, input.button, .woocommerce-Button, .woocommerce-button):not([class*="tutor"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: 12px 18px 10px;
  font-family: var(--display);
  font-variation-settings: "wdth" 86;
  font-weight: 800;
  font-size: .98rem;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background .2s, transform .25s var(--ease), box-shadow .25s;
}
.woocommerce :is(a.button, button.button, input.button, .woocommerce-Button, .woocommerce-button):not([class*="tutor"]):hover { background: var(--ink-2); color: #fff; }

/* butang utama WC: merah, gaya butang beli */
.woocommerce :is(
  .woocommerce-form-login__submit,
  .woocommerce-form-register__submit,
  .woocommerce-ResetPassword .button,
  .woocommerce-EditAccountForm .button,
  .woocommerce-address-fields .button,
  .button.alt,
  .checkout-button,
  .single_add_to_cart_button,
  .wc-forward
):not([class*="tutor"]) {
  min-height: 56px;
  padding: 14px 22px 12px;
  background: var(--red);
  font-variation-settings: "wdth" 84;
  font-weight: 900;
  font-size: 1.1rem;
  text-transform: uppercase;
  box-shadow: 0 14px 28px -10px rgba(220, 38, 38, .6);
}
.woocommerce :is(
  .woocommerce-form-login__submit,
  .woocommerce-form-register__submit,
  .woocommerce-ResetPassword .button,
  .woocommerce-EditAccountForm .button,
  .woocommerce-address-fields .button,
  .button.alt,
  .checkout-button,
  .single_add_to_cart_button,
  .wc-forward
):not([class*="tutor"]):hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 20px 34px -12px rgba(185, 28, 28, .65);
}
.woocommerce :is(.button, .woocommerce-Button):not([class*="tutor"]):focus-visible { outline-color: var(--ink); outline-offset: 4px; }
.woocommerce :is(.button, .woocommerce-Button):disabled,
.woocommerce .button.disabled {
  cursor: not-allowed;
  color: var(--muted);
  background: var(--paper-2);
  box-shadow: none;
  transform: none;
}
/* butang dalam notice kekal kecil */
.woocommerce :is(.woocommerce-message, .woocommerce-info) .wc-forward.wc-forward:not([class*="tutor"]) {
  min-height: 44px;
  padding: 10px 16px 8px;
  font-size: .95rem;
  box-shadow: none;
}

/* baris form */
.woocommerce .form-row { margin: 0 0 16px; padding: 0; }
.woocommerce .form-row label { display: block; margin: 0 0 6px; }
.woocommerce .form-row .required,
.woocommerce label .required {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 3px;
  vertical-align: .35em;
  background: var(--red);
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  text-decoration: none;
  border: 0;
}
.woocommerce .form-row .optional { font-weight: 500; color: var(--muted); }
.woocommerce .woocommerce-input-wrapper { display: block; position: relative; }
.woocommerce .form-row.woocommerce-invalid label { color: var(--red-deep); }
.woocommerce .form-row.woocommerce-invalid :is(input, select) { border-color: var(--red); background-color: #FFF8F8; }
.woocommerce .woocommerce-error-message,
.woocommerce .checkout-inline-error-message { margin: 6px 0 0; font-size: .85rem; font-weight: 600; color: var(--red-deep); }
.woocommerce fieldset { margin: 28px 0 0; padding: 0; border: 0; min-width: 0; }
.woocommerce legend {
  width: 100%;
  margin: 0 0 14px;
  padding: 0 0 10px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--display);
  font-variation-settings: "wdth" 86;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.1;
  color: var(--ink);
}
.woocommerce .form-row em,
.woocommerce #account_display_name_description {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: .82rem;
  line-height: 1.4;
  color: var(--muted);
}

/* dua field sebaris (akaun, alamat) */
.woocommerce :is(.woocommerce-EditAccountForm, .woocommerce-address-fields__field-wrapper) {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
}
.woocommerce :is(.woocommerce-EditAccountForm, .woocommerce-address-fields__field-wrapper) > * { flex: 1 1 100%; min-width: 0; }

/* password: butang tunjuk / sorok */
.woocommerce .password-input { display: block; position: relative; }
.woocommerce .password-input input { padding-right: 56px; }
.woocommerce .show-password-input {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  cursor: pointer;
}
.woocommerce .show-password-input::after {
  content: "";
  position: absolute;
  inset: 11px;
  background: currentColor;
  -webkit-mask: var(--i-eye) center / contain no-repeat;
  mask: var(--i-eye) center / contain no-repeat;
}
.woocommerce .show-password-input.display-password::after {
  -webkit-mask-image: var(--i-eye-off);
  mask-image: var(--i-eye-off);
}
.woocommerce .show-password-input:hover { color: var(--ink); }
.woocommerce .show-password-input:focus-visible { outline-offset: -3px; }
.woocommerce-password-strength {
  margin-top: 8px;
  padding: 8px 12px;
  font-size: .85rem;
  font-weight: 600;
  text-align: left;
}
.woocommerce-password-strength.short,
.woocommerce-password-strength.bad { background: var(--red-tint); color: var(--red-deep); }
.woocommerce-password-strength.good { background: var(--paper-2); color: var(--ink); }
.woocommerce-password-strength.strong { background: var(--ink); color: #fff; }
.woocommerce-password-hint { display: block; margin-top: 6px; font-size: .82rem; line-height: 1.4; color: var(--muted); }

/* =========================================================
   WOOCOMMERCE: LOGIN / DAFTAR / LUPA PASSWORD
   ========================================================= */
.woocommerce :is(.woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword, .lost_reset_password) {
  max-width: 480px;
  margin: 0;
}
.woocommerce #customer_login h2,
.woocommerce-account .woocommerce > h2 {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--display);
  font-variation-settings: "wdth" 78;
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
}
.woocommerce #customer_login .u-column2 { margin-top: 40px; }
.woocommerce .woocommerce-form-login p.form-row:has(.woocommerce-form-login__submit) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}
.woocommerce label.woocommerce-form__label-for-checkbox,
.woocommerce .woocommerce-form-login__rememberme {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0 !important;
  font-weight: 500;
}
.woocommerce .woocommerce-form-login__submit { width: 100%; }
.woocommerce .lost_password { margin: 4px 0 0; font-size: .92rem; }
.woocommerce .lost_password a,
.woocommerce .woocommerce-privacy-policy-text a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
}
.woocommerce .lost_password a:hover { color: var(--red-deep); }
.woocommerce .woocommerce-privacy-policy-text p { font-size: .82rem; line-height: 1.45; color: var(--muted); }
.woocommerce .woocommerce-form-register__submit { width: 100%; }
.woocommerce-ResetPassword > p:first-child { color: var(--ink-2); }

/* =========================================================
   WOOCOMMERCE: MY ACCOUNT
   ========================================================= */
.woocommerce-MyAccount-navigation { margin: 0 0 28px; }
.woocommerce-MyAccount-navigation ul {
  display: flex;
  max-width: none;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--red) var(--paper-2);
  box-shadow: inset 0 -2px 0 var(--ink);
}
.woocommerce-MyAccount-navigation li { flex: none; margin: 0; }
.woocommerce-MyAccount-navigation a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  font-family: var(--display);
  font-variation-settings: "wdth" 86;
  font-weight: 800;
  font-size: .98rem;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--ink-2);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.woocommerce-MyAccount-navigation a:hover { background: var(--paper-2); color: var(--ink); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: #fff; }
.woocommerce-MyAccount-navigation .is-active a::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: var(--red);
}
.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--muted); }
.woocommerce-MyAccount-navigation a:focus-visible { outline-offset: -3px; }

.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-MyAccount-content > p { max-width: 70ch; }
.woocommerce-MyAccount-content :is(h2, h3) {
  margin: 28px 0 12px;
  font-family: var(--display);
  font-variation-settings: "wdth" 86;
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.1;
  text-transform: none;
  color: var(--ink);
}
.woocommerce-MyAccount-content a:not(.button):not([class*="woocommerce-Button"]) {
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
}
.woocommerce-MyAccount-content a:not(.button):not([class*="woocommerce-Button"]):hover { color: var(--red-deep); }

/* alamat */
.woocommerce-Addresses { display: grid; gap: 24px; margin-top: 20px; }
.woocommerce-Address { min-width: 0; }
.woocommerce-Address-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}
.woocommerce-Address-title :is(h2, h3) { margin: 0 !important; }
.woocommerce-Address-title .edit { display: inline-flex; align-items: center; min-height: 44px; font-size: .92rem; }
.woocommerce address {
  margin: 0;
  padding: 14px 16px;
  font-style: normal;
  line-height: 1.6;
  background: var(--paper-2);
  overflow-wrap: anywhere;
}
.woocommerce address p { margin: 4px 0 0; }

/* =========================================================
   WOOCOMMERCE: TABLE (orders, order details, cart)
   ========================================================= */
.woocommerce table.shop_table,
.woocommerce table.woocommerce-table {
  width: 100%;
  margin: 0 0 24px;
  border-collapse: collapse;
  border-top: 2px solid var(--ink);
  font-size: .94rem;
  font-variant-numeric: tabular-nums;
}
.woocommerce table.shop_table :is(th, td),
.woocommerce table.woocommerce-table :is(th, td) {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: middle;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.woocommerce table.shop_table thead th,
.woocommerce table.woocommerce-table thead th {
  font-weight: 600;
  font-size: .8rem;
  color: var(--muted);
}
.woocommerce table.shop_table tfoot tr:last-child :is(th, td) {
  border-bottom: 2px solid var(--ink);
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.15rem;
}
.woocommerce table.shop_table :is(th, td):last-child { padding-right: 0; }
.woocommerce .woocommerce-orders-table__cell-order-actions { text-align: right; }
.woocommerce .woocommerce-orders-table__cell-order-actions .button {
  min-height: 40px;
  padding: 8px 14px 6px;
  margin: 2px 0 2px 6px;
  font-size: .9rem;
}
.woocommerce .woocommerce-orders-table__cell-order-number a { font-weight: 700; }
.woocommerce .wc-item-meta { list-style: none; margin: 4px 0 0; padding: 0; font-size: .8rem; color: var(--muted); }
.woocommerce .wc-item-meta p { display: inline; margin: 0; }
.woocommerce :is(.woocommerce-order-details, .woocommerce-customer-details) { margin: 0 0 32px; }
.woocommerce :is(.woocommerce-order-details__title, .woocommerce-column__title) { margin-top: 0; }
.woocommerce ul.order_details {
  list-style: none;
  margin: 20px 0 32px;
  padding: 0;
  border-top: 2px solid var(--ink);
}
.woocommerce ul.order_details li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 16px;
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  font-size: .88rem;
  color: var(--muted);
}
.woocommerce ul.order_details li strong { font-size: .95rem; color: var(--ink); overflow-wrap: anywhere; }

/* mobile: baris jadi blok, label dari data-title */
@media (max-width: 767px) {
  .woocommerce table.shop_table_responsive thead { display: none; }
  .woocommerce table.shop_table_responsive tbody tr {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--rule);
  }
  .woocommerce table.shop_table_responsive tbody :is(th, td) {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 6px 0;
    border: 0;
    text-align: right;
  }
  .woocommerce table.shop_table_responsive tbody :is(th, td)::before {
    content: attr(data-title);
    flex: none;
    font-weight: 600;
    font-size: .8rem;
    color: var(--muted);
    text-align: left;
  }
  .woocommerce table.shop_table_responsive tbody :is(th, td):not([data-title])::before { content: none; }
  .woocommerce table.shop_table_responsive .woocommerce-orders-table__cell-order-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-top: 10px;
  }
  .woocommerce table.shop_table_responsive .woocommerce-orders-table__cell-order-actions::before { content: none; }
  .woocommerce table.shop_table_responsive .woocommerce-orders-table__cell-order-actions .button { margin: 0 8px 0 0; }
  .woocommerce table.shop_table_responsive tr.cart_item td.product-thumbnail { display: none; }
  .woocommerce table.shop_table_responsive td.actions { display: block; text-align: left; }
  .woocommerce table.shop_table_responsive td.actions::before { content: none; }
}

/* =========================================================
   WOOCOMMERCE: CART (classic)
   ========================================================= */
.woocommerce table.cart .product-thumbnail img { display: block; width: 64px; height: auto; }
.woocommerce table.cart .product-name a { font-weight: 700; text-decoration: none; }
.woocommerce table.cart .product-name a:hover { color: var(--red-deep); }
.woocommerce a.remove {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 44px;
  font-size: 0;
  color: var(--muted);
  text-decoration: none;
}
.woocommerce a.remove::after {
  content: "";
  position: absolute;
  inset: 13px;
  background: currentColor;
  -webkit-mask: var(--i-x) center / contain no-repeat;
  mask: var(--i-x) center / contain no-repeat;
}
.woocommerce a.remove:hover { color: var(--red); }
.woocommerce .quantity .qty { width: 88px; text-align: center; }
.woocommerce td.actions .coupon { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.woocommerce td.actions .coupon .input-text { flex: 1 1 180px; width: auto; }
.woocommerce td.actions > .button { margin-top: 0; }
.woocommerce .cart-collaterals { margin-top: 24px; }
.woocommerce .cart_totals { max-width: 460px; margin-left: auto; }
.woocommerce .cart_totals h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-variation-settings: "wdth" 86;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
}
.woocommerce .wc-proceed-to-checkout .checkout-button { width: 100%; }
.woocommerce .cart-empty { font-weight: 600; }
.woocommerce .return-to-shop { margin-top: 16px; }

/* =========================================================
   WOOCOMMERCE: SHOP + PRODUCT (ringkas)
   ========================================================= */
.woocommerce-breadcrumb { margin: 0 0 16px; font-size: .85rem; color: var(--muted); }
.woocommerce-breadcrumb a { color: var(--ink-2); }
.woocommerce-products-header { margin: 0 0 24px; }
.woocommerce-products-header__title,
.woocommerce div.product .product_title {
  margin: 0;
  padding-bottom: .28em;
  border-bottom: 2px solid var(--ink);
  font-family: var(--display);
  font-variation-settings: "wdth" 70;
  font-weight: 900;
  font-size: clamp(2rem, 7.6vw, 3.2rem);
  line-height: .92;
  letter-spacing: -.012em;
  text-transform: uppercase;
  color: var(--ink);
}
.woocommerce-result-count { margin: 0 0 12px; font-size: .88rem; color: var(--muted); }
.woocommerce-ordering { margin: 0 0 24px; max-width: 320px; }
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: none;
}
.woocommerce ul.products li.product { position: relative; margin: 0; }
.woocommerce ul.products li.product a { text-decoration: none; }
.woocommerce ul.products li.product img { display: block; width: 100%; margin: 0 0 12px; box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .35); }
.woocommerce-loop-product__title {
  margin: 0 0 6px !important;
  font-family: var(--display);
  font-variation-settings: "wdth" 86 !important;
  font-weight: 800 !important;
  font-size: 1.2rem !important;
  line-height: 1.15 !important;
  text-transform: none !important;
  color: var(--ink);
}
.woocommerce .price {
  display: block;
  margin: 0 0 12px;
  font-family: var(--display);
  font-variation-settings: "wdth" 76;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.woocommerce .price del { font-weight: 700; font-size: .7em; color: var(--muted); text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.woocommerce .price ins { text-decoration: none; color: var(--red); }
.woocommerce span.onsale {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 5px 10px 4px;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.woocommerce .star-rating,
.woocommerce .woocommerce-review-link { display: none; }
.woocommerce ul.products li.product .button { width: 100%; }
.woocommerce a.added_to_cart { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; font-weight: 600; }

.woocommerce div.product { position: relative; }
.woocommerce-product-gallery { opacity: 1 !important; margin: 0 0 24px; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery img { display: block; width: 100%; }
.woocommerce-product-gallery .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.woocommerce div.product .summary .price { font-size: 2.2rem; margin-top: 16px; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.woocommerce div.product form.cart .quantity { flex: none; }
.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1 1 200px; }
.woocommerce div.product .product_meta { font-size: .85rem; color: var(--muted); }
.woocommerce div.product .product_meta > span { display: block; margin: 2px 0; }
.woocommerce-tabs { margin-top: 36px; }
.woocommerce-tabs ul.tabs {
  display: flex;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  box-shadow: inset 0 -2px 0 var(--ink);
}
.woocommerce-tabs ul.tabs li { flex: none; margin: 0; }
.woocommerce-tabs ul.tabs a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  font-family: var(--display);
  font-weight: 800;
  color: var(--ink-2);
  text-decoration: none;
}
.woocommerce-tabs ul.tabs li.active a { background: var(--ink); color: #fff; }
.woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce .related > h2,
.woocommerce .up-sells > h2 { margin-top: 48px; }

/* =========================================================
   TUTOR (sentuhan ringan)
   ========================================================= */
.roas-tutor .roas-head { margin-bottom: 24px; }
.roas-tutor .roas-entry { min-width: 0; }
.roas-tutor .roas-entry > :where(p:empty) { display: none; }

/* =========================================================
   404
   ========================================================= */
.roas-404 { padding-block: clamp(48px, 12vw, 104px); }
.roas-404 .roas-title { font-size: clamp(2.6rem, 12vw, 5rem); line-height: .96; }
.roas-404 .roas-title .roas-hl { margin-top: .08em; }
.roas-404-cta { margin-top: 1.6em !important; }

/* =========================================================
   FOOTER
   ========================================================= */
.roas-foot {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 18px;
  padding: 18px var(--gutter) 22px;
  border-top: 1px solid var(--rule);
  background: var(--paper);
  font-size: .8rem;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}
.roas-foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; }
.roas-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-2);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--rule);
  transition: color .2s, text-decoration-color .2s;
}
.roas-foot a:hover { color: var(--red-deep); text-decoration-color: var(--red); }
.roas-copy { display: flex; align-items: center; min-height: 44px; margin: 0; }

/* =========================================================
   SKRIN KECIL
   ========================================================= */
@media (max-width: 479px) {
  .roas-nav { gap: 12px; }
  .roas-menu { gap: 12px; }
}
@media (max-width: 399px) {
  .wordmark-sub { padding: 0 .5em; font-size: .76rem; }
  .roas-btn--bar { padding: 0 12px; }
}
/* Course + About + Login tak muat sebaris bersama 1000X. Nama penuh ada dalam aria-label brand. */
@media (max-width: 379px) {
  .wordmark-sub { display: none; }
}
/* Label Dashboard (bila dah login) lebih panjang dari Login. */
@media (max-width: 339px) {
  .roas-nav { gap: 9px; }
  .roas-nav-link { font-size: .86rem; }
  .roas-btn--bar { padding: 0 9px; font-size: .86rem; }
}

/* =========================================================
   >= 600px
   ========================================================= */
@media (min-width: 600px) {
  :root { --gutter: 28px; --sheet-pad: 20px; }
  .roas-page { padding-top: 48px; }
  .roas-btn--bar .roas-ic { display: inline-block; }
  .woocommerce :is(.woocommerce-EditAccountForm, .woocommerce-address-fields__field-wrapper) > :is(.form-row-first, .form-row-last) {
    flex: 1 1 calc(50% - 8px);
  }
  .woocommerce .woocommerce-form-login p.form-row:has(.woocommerce-form-login__submit) {
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
  }
  .woocommerce .woocommerce-form-login__submit { width: auto; }
  .woocommerce .woocommerce-form-register__submit { width: auto; }
  .woocommerce .wc-proceed-to-checkout .checkout-button { width: 100%; }
  .woocommerce-Addresses { grid-template-columns: 1fr 1fr; }
  .roas-prose .alignleft,
  .roas-prose .alignright { max-width: 50%; }
}
@media (max-width: 599px) {
  .roas-prose .alignleft,
  .roas-prose .alignright { float: none; margin: 1.4em 0; }
}

/* =========================================================
   >= 900px
   ========================================================= */
@media (min-width: 900px) {
  :root { --sheet-pad: 48px; }
  .roas-bar-in { min-height: 72px; }
  .wordmark { font-size: 1.8rem; }
  .wordmark-sub { font-size: .92rem; }
  .roas-nav, .roas-menu { gap: 22px; }

  /* login + daftar sebelah-menyebelah */
  .woocommerce #customer_login.col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
  .woocommerce #customer_login .u-column2 { margin-top: 0; }

  /* my account: tab menegak kiri, kandungan kanan */
  .woocommerce:has(> .woocommerce-MyAccount-navigation) {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }
  .woocommerce:has(> .woocommerce-MyAccount-navigation) > :not(.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content) { grid-column: 1 / -1; }
  .woocommerce-MyAccount-navigation { margin: 0; }
  .woocommerce-MyAccount-navigation ul {
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow: visible;
    box-shadow: none;
    border-top: 2px solid var(--ink);
  }
  .woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--rule); }
  .woocommerce-MyAccount-navigation a { min-height: 50px; padding: 0 14px 0 12px; white-space: normal; }
  .woocommerce-MyAccount-content > :first-child { margin-top: 0; }

  /* cart: table + total */
  .woocommerce .cart-collaterals { display: flex; justify-content: flex-end; }
  .woocommerce .cart_totals { width: 100%; }

  /* product: gambar kiri, ringkasan kanan */
  .woocommerce div.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
    align-items: start;
  }
  .woocommerce div.product > :not(.woocommerce-product-gallery, .summary, .onsale) { grid-column: 1 / -1; }
  .woocommerce div.product .summary .product_title { margin-top: 0; }
}

/* =========================================================
   MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .roas-btn:hover,
  .roas-btn:hover .roas-ic,
  .woocommerce .button:hover { transform: none !important; }
}
