/* =========================================================
   Terrace Interior — token & section beranda
   (dimuat di website dan di editor blok)
   ========================================================= */
:root {
	--t-surface: #ffffff;
	--t-warm: #f6f3ee;
	--t-line: #e4e0d8;
	--t-ink: #111111;
	--t-muted: #5c5a55;
	--t-on-ink: #ffffff;
	--t-em: #00b386;
	--t-em-hover: #009e76;
	--t-on-em: #00281e;
	--t-em-text: #00785a;
	--t-em-tint: #e0f6ef;
	--t-danger: #c0392b;
	--t-r-sm: 6px;
	--t-r-md: 10px;
	--t-r-lg: 16px;
	--t-lift: 0 6px 20px rgba(17, 17, 17, .10);
	--t-font: Poppins, "Helvetica Neue", Arial, sans-serif;
	--t-sec-gap: 72px;
}
@media (max-width: 900px) { :root { --t-sec-gap: 48px; } }

.t-wrap { max-width: 1248px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; width: 100%; }
@media (max-width: 900px) { .t-wrap { padding-left: 16px; padding-right: 16px; } }

.t-home, .t-sec, .t-promo, .t-serv-sec { font-family: var(--t-font); color: var(--t-ink); }
.t-home *, .t-sec *, .t-promo *, .t-serv-sec * { box-sizing: border-box; }

/* ---------- Tipografi ---------- */
.t-display { margin: 0; font-size: 48px; line-height: 54px; font-weight: 700; letter-spacing: -0.5px; max-width: 560px; }
.t-title { margin: 0; font-size: 24px; line-height: 32px; font-weight: 600; }
.t-subtitle { font-size: 18px; line-height: 28px; font-weight: 600; }
.t-lead { margin: 0; font-size: 18px; line-height: 28px; font-weight: 500; color: var(--t-muted); max-width: 520px; }
.t-small { font-size: 14px; line-height: 22px; }
.t-caption { font-size: 12px; line-height: 18px; font-weight: 500; }
.t-muted { color: var(--t-muted); }
.t-strong { font-weight: 600; }
.t-em { color: var(--t-em-text); }
.t-sec p { margin: 0; }
@media (max-width: 900px) {
	.t-display { font-size: 34px; line-height: 42px; letter-spacing: -0.3px; }
	.t-lead { font-size: 16px; line-height: 26px; font-weight: 400; }
}

/* ---------- Tombol & badge ---------- */
.t-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: var(--t-r-md); font: 600 15px/20px var(--t-font); text-decoration: none !important; cursor: pointer; border: 1.5px solid transparent; white-space: nowrap; transition: background .15s ease, color .15s ease; }
.t-btn-primary { background: var(--t-em); color: var(--t-on-em) !important; border-color: var(--t-em); }
.t-btn-primary:hover { background: var(--t-em-hover); border-color: var(--t-em-hover); color: var(--t-on-em); }
.t-btn-secondary { background: transparent; color: var(--t-ink) !important; border-color: var(--t-ink); }
.t-btn-secondary:hover { background: var(--t-warm); color: var(--t-ink); }
.t-btn-light { background: #fff; color: var(--t-ink) !important; }
.t-btn-light:hover { background: var(--t-warm); color: var(--t-ink); }
.t-btn-block { display: flex; width: 100%; }
.t-btn-sm { padding: 0 16px; }
.t-btn.loading { opacity: .6; }
.t-btn.added::after { content: " ✓"; }
.t-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.t-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.t-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--t-r-sm); background: var(--t-warm); border: 1px solid var(--t-line); color: var(--t-ink); font-size: 12px; line-height: 18px; font-weight: 500; white-space: nowrap; }
.t-badge-em { background: var(--t-em-tint); border-color: var(--t-em-tint); color: var(--t-em-text); }

.t-sq-btn { width: 44px; height: 44px; border-radius: var(--t-r-md); border: 1px solid var(--t-line); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--t-ink); cursor: pointer; padding: 0; flex: none; }
.t-sq-btn:hover { background: var(--t-warm); }
.t-round-btn { width: 44px; height: 44px; border-radius: 999px; border: 0; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--t-ink); cursor: pointer; padding: 0; flex: none; box-shadow: 0 1px 3px rgba(17,17,17,.12); }
.t-round-btn:disabled { opacity: .35; cursor: default; }

.t-link-strong { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--t-em-text); text-decoration: none; white-space: nowrap; }
.t-link-strong:hover { text-decoration: underline; color: #005c45; }

.t-home a:focus-visible, .t-home button:focus-visible, .t-sec a:focus-visible, .t-sec button:focus-visible { outline: 2px solid var(--t-em-text); outline-offset: 2px; }

/* ---------- Pola garis ---------- */
.t-stripes { position: absolute; inset: 0; display: flex; }
.t-stripes > span { position: relative; display: block; height: 100%; }
.t-stripe-label { position: absolute; left: 50%; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); font-size: 28px; line-height: 28px; font-weight: 700; letter-spacing: 1px; color: rgba(17,17,17,.5); white-space: nowrap; }
.t-stripe-label.is-bottom { bottom: 32px; }
.t-stripe-label.is-top { top: 32px; }
.t-stripe-label.is-light { color: rgba(255,255,255,.75); }
@media (max-width: 900px) {
	.t-stripe-label { font-size: 20px; line-height: 20px; }
	.t-stripe-label.is-bottom { bottom: 20px; }
	.t-stripe-label.is-top { display: none; }
}

/* ---------- Section umum ---------- */
.t-sec { padding-top: var(--t-sec-gap); }
.t-sec.t-band { margin-top: var(--t-sec-gap); padding: var(--t-sec-gap) 0; background: var(--t-warm); }
.t-sec.t-band + .t-sec:not(.t-band) { padding-top: var(--t-sec-gap); }
.t-sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.t-sec-desc { margin: 4px 0 0 !important; font-size: 14px; line-height: 22px; color: var(--t-muted); max-width: 720px; }
.t-card { transition: box-shadow .15s ease; }
.t-card:hover { box-shadow: var(--t-lift); }
.t-hscroll { display: flex; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.t-hscroll::-webkit-scrollbar { display: none; }
.t-hscroll > * { flex: none; }
.t-placeholder { margin-top: 24px; padding: 20px 24px; border: 1.5px dashed var(--t-line); border-radius: var(--t-r-md); background: var(--t-warm); font: 400 14px/22px var(--t-font); color: var(--t-ink); }
.t-placeholder span { color: var(--t-muted); }

/* Pill / tab */
.t-pills { gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.t-pill { height: 44px; padding: 0 18px; border-radius: 999px; font: 600 15px/20px var(--t-font); background: #fff; color: var(--t-ink); border: 1.5px solid var(--t-line); cursor: pointer; white-space: nowrap; }
.t-pill:hover { border-color: var(--t-ink); }
.t-pill[aria-selected="true"], .t-pill[aria-pressed="true"] { background: var(--t-em); color: var(--t-on-em); border-color: var(--t-em); }
@media (max-width: 900px) {
	.t-pills { flex-wrap: nowrap; margin-left: -16px; margin-right: -16px; padding: 0 16px; margin-bottom: 16px; }
}

/* ---------- Promo (hero) ---------- */
.t-promo { padding-top: 24px; position: relative; }
.t-slide { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; }
.t-slide[hidden] { display: none; }
.t-slide.is-entering { animation: tFade .35s ease both; }
@keyframes tFade { from { opacity: 0; } }
.t-hero-copy { background: var(--t-warm); border-radius: var(--t-r-lg); padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 460px; }
.t-hero-top { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.t-hero-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.t-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.t-hero-nav { display: flex; align-items: center; gap: 12px; }
.t-hero-visual { position: relative; border-radius: var(--t-r-lg); overflow: hidden; min-height: 460px; background: var(--t-warm); }
.t-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-hero-p1 { position: absolute; left: 12%; top: 12%; width: 46%; height: auto; }
.t-hero-p2 { position: absolute; left: 42%; top: 24%; width: 44%; height: auto; }
.t-hero-mark { position: absolute; right: 20px; bottom: 20px; width: 96px; height: auto; }
.t-dots { display: none; justify-content: center; gap: 6px; padding-top: 12px; }
.t-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--t-line); border: 0; padding: 0; cursor: pointer; position: relative; }
.t-dot::before { content: ""; position: absolute; inset: -12px -6px; }
.t-dot.is-active { width: 20px; background: var(--t-ink); }
@media (max-width: 900px) {
	.t-promo { padding-top: 16px; }
	.t-slide { grid-template-columns: 1fr; gap: 0; border-radius: var(--t-r-lg); overflow: hidden; background: var(--t-warm); }
	.t-hero-visual { order: -1; min-height: 0; height: auto; aspect-ratio: 3 / 2; max-height: 460px; border-radius: 0; }
	.t-hero-p1 { top: 8%; width: 40%; }
	.t-hero-p2 { left: 40%; top: 14%; width: 38%; }
	.t-hero-mark { right: 12px; bottom: 12px; }
	.t-hero-copy { min-height: 0; padding: 20px 20px 24px; border-radius: 0; gap: 16px; }
	.t-hero-top { gap: 12px; }
	.t-hero-btns { flex-direction: column; width: 100%; gap: 8px; }
	.t-hero-btns .t-btn { width: 100%; }
	.t-dots { display: flex; }
}

/* ---------- Layanan ---------- */
.t-serv-sec { padding-top: 24px; }
.t-serv { list-style: none; margin: 0; padding: 20px 24px; border: 1px solid var(--t-line); border-radius: var(--t-r-md); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.t-serv li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.t-serv .t-icon { flex: none; color: var(--t-ink); }
.t-serv-title { font-size: 14px; line-height: 22px; font-weight: 600; }
@media (max-width: 900px) {
	.t-serv { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; padding: 16px; }
	.t-serv li { gap: 8px; }
	.t-serv .t-icon { width: 20px; height: 20px; margin-top: 1px; }
}

/* ---------- Kartu produk ---------- */
.t-grid-prod { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.t-grid-prod[hidden] { display: none; }
.t-pcard { border: 1px solid var(--t-line); border-radius: var(--t-r-md); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.t-pcard-media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.t-pcard-img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72% !important; height: 72% !important; object-fit: contain; transition: transform .25s ease; }
.t-pcard:hover .t-pcard-img { transform: translate(-50%, -50%) scale(1.03); }
.t-pcard-noimg { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 44%; height: 56%; border-radius: var(--t-r-md); border: 1.5px dashed rgba(17,17,17,.55); background: rgba(255,255,255,.82); display: flex; align-items: center; justify-content: center; font-size: 12px; line-height: 18px; font-weight: 500; color: var(--t-muted); text-align: center; }
.t-pcard-mark { position: absolute; right: 12px; bottom: 12px; width: 96px !important; height: auto; }
.t-pcard-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.t-pcard-name { margin: 0; font-size: 14px; line-height: 22px; font-weight: 400; min-height: 44px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t-pcard-name a { color: var(--t-ink); text-decoration: none; }
.t-pcard-name a:hover { text-decoration: underline; }
.t-pcard-price { margin-top: auto; }
.t-price { font-size: 22px; line-height: 28px; font-weight: 600; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.t-price-old { font-size: 12px; line-height: 18px; font-weight: 500; color: var(--t-danger); }
@media (max-width: 900px) {
	.t-grid-prod { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.t-pcard-body { padding: 12px; }
	.t-pcard-mark { width: 64px !important; right: 8px; bottom: 8px; }
	.t-price { font-size: 18px; line-height: 24px; }
	.t-pcard .t-btn { font-size: 13px; padding: 0 8px; white-space: normal; text-align: center; line-height: 16px; }
	.t-pcard .t-badge:nth-child(n+3) { display: none; }
}

/* ---------- Belanja sesuai kebutuhan ---------- */
.t-grid-need { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.t-need-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--t-line); border-radius: var(--t-r-md); overflow: hidden; color: var(--t-ink) !important; text-decoration: none !important; }
.t-need-card.is-wide { grid-column: span 2; }
.t-need-media { position: relative; display: block; height: 96px; overflow: hidden; }
.t-need-card.is-wide .t-need-media { height: 200px; }
.t-need-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-need-body { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.t-need-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.t-need-row .t-icon { flex: none; transition: transform .15s ease; }
.t-need-card:hover .t-need-row .t-icon { transform: translateX(3px); }
.t-need-title { font-size: 18px; line-height: 28px; font-weight: 500; }
.t-need-card.is-wide .t-need-title { font-size: 24px; line-height: 32px; font-weight: 600; }
@media (max-width: 900px) {
	.t-grid-need { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.t-need-card.is-wide .t-need-media { height: 120px; }
	.t-need-media { height: 72px; }
	.t-need-body { padding: 12px; }
	.t-need-title, .t-need-card.is-wide .t-need-title { font-size: 16px; line-height: 24px; font-weight: 600; }
	.t-need-card .t-small { font-size: 12px; line-height: 18px; }
}

/* ---------- Warna populer ---------- */
.t-colors { --wall: #eeeeee; }
.t-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--t-warm); border: 1px solid var(--t-line); }
.t-seg-btn { flex: 1 1 auto; height: 44px; padding: 0 20px; border: 0; border-radius: 8px; background: transparent; color: var(--t-ink); font: 600 15px/20px var(--t-font); white-space: nowrap; cursor: pointer; }
.t-seg-btn:hover { background: rgba(17,17,17,.04); }
.t-seg-btn[aria-selected="true"] { background: var(--t-em); color: var(--t-on-em); }
.t-grid-color { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; }
.t-room-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.t-room, .t-room-thumb { position: relative; display: block; overflow: hidden; background: var(--wall); isolation: isolate; transition: background-color .35s ease; }
.t-room { border-radius: var(--t-r-lg); aspect-ratio: 4 / 3; border: 1px solid var(--t-line); }
.t-room img, .t-room-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-room .t-room-shade, .t-room-thumb .t-room-shade { mix-blend-mode: multiply; }
.t-room.is-loading .t-room-photo, .t-room.is-loading .t-room-shade { opacity: .55; transition: opacity .2s; }
.t-room-tag { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; font-style: italic; }
.t-room-chip { width: 36px; height: 36px; border-radius: 999px; border: 1.5px solid #111; background: var(--wall); flex: none; box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
.t-room-text { display: flex; flex-direction: column; gap: 2px; color: var(--wall-fg); }
.t-room-code { color: var(--wall-muted); }
.t-room-rule { display: block; width: 140px; height: 1.5px; background: var(--wall-fg); }
.t-room-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(52px, 1fr)); gap: 8px; }
.t-room-pick { padding: 2px; border-radius: 8px; background: #fff; border: 2px solid transparent; opacity: .85; cursor: pointer; }
.t-room-pick:hover { opacity: 1; }
.t-room-pick[aria-selected="true"] { border-color: var(--t-ink); opacity: 1; }
.t-room-thumb { width: 100%; height: auto; aspect-ratio: 1; border-radius: 6px; }
.t-color-card { display: flex; flex-direction: column; border: 1px solid var(--t-line); border-radius: var(--t-r-lg); overflow: hidden; background: #fff; }
.t-color-hero { flex: 1; min-height: 240px; background: var(--wall); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--t-line); transition: background-color .35s ease; }
.t-color-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--wall-muted); }
.t-color-name { margin: 0; font-size: 34px; line-height: 42px; font-weight: 600; color: var(--wall-fg); }
.t-color-code { font-size: 18px; line-height: 28px; font-weight: 500; color: var(--wall-muted); }
.t-color-body { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.t-color-dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; font-size: 14px; line-height: 22px; }
.t-color-dl dt { color: var(--t-muted); }
.t-color-dl dd { margin: 0; }
.t-color-dl [hidden] { display: none; }
.t-color-body .t-btn-row { margin-top: 0; }
.t-color-body .t-btn-row .t-btn-primary { flex: 1 1 180px; }
.t-color-body .t-btn-row .t-btn-secondary { flex: 1 1 140px; }
.t-chips { margin-top: 24px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.t-chip { display: flex; flex-direction: column; width: 100%; padding: 0; border: 1px solid var(--t-line); border-radius: var(--t-r-md); overflow: hidden; text-align: left; background: #fff; color: var(--t-ink); cursor: pointer; font-family: var(--t-font); transition: box-shadow .15s ease; }
.t-chip:hover { box-shadow: var(--t-lift); }
.t-chip[aria-pressed="true"] { outline: 2px solid var(--t-ink); outline-offset: 2px; }
.t-chip-block { display: block; height: 72px; border-bottom: 1px solid var(--t-line); }
.t-chip-text { display: flex; flex-direction: column; padding: 8px 10px 10px; min-width: 0; font-size: 12px; line-height: 18px; font-weight: 500; }
.t-chip-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-color-note { margin-top: 12px !important; }
@media (max-width: 900px) {
	.t-colors .t-sec-head { flex-direction: column; align-items: stretch; }
	.t-seg { display: flex; }
	.t-grid-color { grid-template-columns: 1fr; gap: 16px; }
	.t-room-picks { grid-template-columns: repeat(auto-fit, minmax(48px, 1fr)); gap: 6px; }
	.t-room-rule { width: 110px; }
	.t-color-hero { min-height: 150px; padding: 16px; }
	.t-color-name { font-size: 28px; line-height: 36px; }
	.t-color-body { padding: 16px; }
	.t-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
}

/* ---------- Katalog PDF ---------- */
.t-grid-catalog { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; align-items: start; }
.t-cat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.t-cat-list li { margin: 0; }
.t-cat-list li[hidden] { display: none; }
.t-cat-tabs { margin: 0 0 20px; max-width: 100%; }
.t-seg-scroll { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.t-seg-scroll::-webkit-scrollbar { display: none; }
.t-seg-scroll .t-seg-btn { flex: 0 0 auto; }
.t-seg-count { display: inline-block; min-width: 20px; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: rgba(17,17,17,.06); font: 500 12px/20px var(--t-font); text-align: center; }
.t-seg-btn[aria-selected="true"] .t-seg-count { background: rgba(255,255,255,.22); }
.t-cat-row { width: 100%; display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; border-radius: var(--t-r-md); text-align: left; background: #fff; border: 1px solid var(--t-line); cursor: pointer; font-family: var(--t-font); color: var(--t-ink); }
.t-cat-row:hover { border-color: var(--t-ink); }
.t-cat-row[aria-pressed="true"] { background: var(--t-warm); border: 1.5px solid var(--t-ink); }
.t-cat-thumb { position: relative; width: 56px; height: 72px; border-radius: var(--t-r-sm); overflow: hidden; display: block; flex: none; border: 1px solid var(--t-line); }
.t-cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.t-cat-meta { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.t-cat-name { font-size: 14px; line-height: 22px; font-weight: 600; }
.t-cat-cue { flex: none; }
.t-cue-off { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--t-em-text); }
.t-cue-on { display: none; }
.t-cat-row[aria-pressed="true"] .t-cue-off { display: none; }
.t-cat-row[aria-pressed="true"] .t-cue-on { display: inline-flex; }

.t-viewer { border: 1px solid var(--t-line); border-radius: var(--t-r-lg); overflow: hidden; display: flex; flex-direction: column; min-height: 640px; background: #fff; }
.t-viewer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--t-line); background: #fff; }
.t-viewer-title { min-width: 0; }
.t-viewer-tools { display: flex; align-items: center; gap: 8px; }
.t-zoom { min-width: 40px; text-align: center; }
.t-viewer-stage { flex: 1; background: var(--t-line); display: flex; align-items: center; justify-content: center; gap: 16px; padding: 32px 16px; position: relative; }
.t-viewer-page { flex: 1; min-width: 0; max-height: 720px; overflow: auto; display: flex; justify-content: center; align-items: flex-start; }
.t-viewer-page canvas { display: block; background: #fff; border-radius: var(--t-r-sm); box-shadow: var(--t-lift); max-width: none; }
.t-viewer-cover { width: 100%; max-width: 380px; aspect-ratio: 210 / 297; background: #fff; border-radius: var(--t-r-sm); box-shadow: var(--t-lift); overflow: hidden; display: flex; flex-direction: column; margin: 0 auto; }
.t-viewer-cover-art { position: relative; flex: 1.4; }
.t-viewer-cover-text { flex: 1; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.t-viewer-cover-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-viewer-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.t-viewer:fullscreen { border-radius: 0; }
.t-viewer:fullscreen .t-viewer-page { max-height: none; }
@media (max-width: 900px) {
	.t-grid-catalog { grid-template-columns: 1fr; gap: 16px; }
	.t-viewer { order: -1; min-height: 0; }
	.t-viewer-stage { padding: 16px 8px; }
	.t-viewer-stage .t-round-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
	.t-viewer-stage [data-v="prev"] { left: 8px; }
	.t-viewer-stage [data-v="next"] { right: 8px; }
	.t-viewer-page { max-height: 520px; }
	.t-viewer-cover { max-width: 260px; }
	.t-viewer-tools .t-btn span { display: none; }
	.t-viewer-tools .t-btn { padding: 0; width: 44px; }
	.t-cat-row { padding: 10px 12px 10px 10px; gap: 12px; }
	.t-cat-thumb { width: 44px; height: 56px; }
}

/* Utilitas tampil/sembunyi responsif */
.t-show-sm { display: none !important; }
@media (max-width: 900px) {
	.t-hide-sm { display: none !important; }
	.t-show-sm { display: flex !important; }
	span.t-show-sm { display: inline !important; }
}
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Editor: section Terrace selebar mungkin di kanvas editor */
.wp-block[data-type^="terrace/"] { max-width: 1440px !important; margin-left: auto; margin-right: auto; }

/* ---------- Kartu produk: harga promo & hover tombol ---------- */
.t-price { align-items: center; gap: 4px 8px; }
.t-price-promo { display: inline-flex; align-items: center; gap: 6px; }
.t-price-pct {
	display: inline-flex; align-items: center; height: 22px; padding: 0 6px; border-radius: var(--t-r-sm);
	background: var(--t-danger); color: #fff; font-size: 12px; line-height: 18px; font-weight: 700; letter-spacing: .01em;
}
.t-pcard .t-btn-secondary { transition: background .15s ease, border-color .15s ease, color .15s ease; }
.t-pcard .t-btn-secondary:hover,
.t-pcard .t-btn-secondary:focus-visible { background: var(--t-em); border-color: var(--t-em); color: var(--t-on-em) !important; }
.t-pcard .t-btn-secondary:active { background: var(--t-em-hover); border-color: var(--t-em-hover); }

/* ---------- Desktop: 6 produk per baris ---------- */
@media (min-width: 1100px) {
	.t-grid-prod, body .t-shop ul.products { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
	.t-pcard-body { padding: 12px; gap: 6px; }
	.t-pcard .t-badges { gap: 4px; }
	.t-pcard .t-badge { font-size: 11px; line-height: 16px; min-height: 22px; height: auto; padding: 3px 8px; max-width: 100%; white-space: normal; }
	.t-pcard .t-caption { font-size: 11px; line-height: 16px; }
	.t-pcard-name { font-size: 13px; line-height: 20px; min-height: 40px; }
	.t-pcard .t-price { font-size: 18px; line-height: 24px; }
	.t-pcard .t-price-now { font-size: 18px; line-height: 24px; }
	.t-pcard .t-btn { font-size: 13px; line-height: 18px; min-height: 40px; padding: 0 8px; }
}

/* ---------- Nama produk: maksimal 2 baris (menimpa gaya bawaan WooCommerce) ---------- */
.t-pcard .t-pcard-name { font-size: 14px !important; line-height: 22px !important; margin: 0 !important; padding: 0 !important; display: -webkit-box !important; -webkit-box-orient: vertical !important; -webkit-line-clamp: 2 !important; overflow: hidden !important; min-height: 44px; max-height: 44px; }
@media (min-width: 1100px) {
	.t-pcard .t-pcard-name { font-size: 13px !important; line-height: 20px !important; min-height: 40px; max-height: 40px; }
}

/* ---------- Tab merek katalog: panah geser ---------- */
.t-seg-wrap { position: relative; margin: 0 0 20px; max-width: 100%; }
.t-seg-wrap > .t-cat-tabs { margin: 0; }
.t-seg-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; display: none; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--t-line); border-radius: 50%; background: #fff; color: var(--t-ink); box-shadow: 0 2px 8px rgba(17,17,17,.18); cursor: pointer; }
.t-seg-arrow:hover { background: var(--t-warm); }
.t-seg-arrow:focus-visible { outline: 2px solid var(--t-em-text); outline-offset: 2px; }
.t-seg-arrow-prev { left: 6px; }
.t-seg-arrow-prev svg { transform: scaleX(-1); }
.t-seg-arrow-next { right: 6px; }
.t-seg-wrap.has-prev .t-seg-arrow-prev, .t-seg-wrap.has-next .t-seg-arrow-next { display: flex; }

/* ---------- Tab merek "Warna paling populer": bisa digeser; panah hanya untuk mouse ---------- */
.t-colors .t-seg-scroll { max-width: 100%; min-width: 0; }
.t-colors .t-seg-wrap, .t-sec-head .t-seg-wrap { margin: 0; min-width: 0; max-width: 100%; }
@media (hover: none) { .t-seg-arrow { display: none !important; } }


/* Viewer katalog: zoom bisa di-scroll (vertikal + horizontal) */
.t-viewer-stage{min-height:0;overflow:hidden}
.t-viewer-page{overflow:auto!important;-webkit-overflow-scrolling:touch;scrollbar-width:auto;scrollbar-color:#8a8a8a #e5e5e5;align-items:flex-start;justify-content:flex-start}
.t-viewer-page canvas{margin:0 auto;flex:none}
.t-viewer-page::-webkit-scrollbar{width:14px;height:14px}
.t-viewer-page::-webkit-scrollbar-track{background:#e5e5e5}
.t-viewer-page::-webkit-scrollbar-thumb{background:#8a8a8a;border-radius:8px;border:3px solid #e5e5e5}
.t-viewer:fullscreen{height:100vh;width:100vw;display:flex;flex-direction:column}
.t-viewer:fullscreen .t-viewer-stage{flex:1 1 0;min-height:0;align-items:stretch;padding:16px}
.t-viewer:fullscreen .t-viewer-page{max-height:none!important;height:100%;min-height:0}


/* Foto produk penuh (tanpa gap putih) */
.t-pcard .t-pcard-img{width:100%!important;height:100%!important;object-fit:contain}
