/* Storefront UI/UX refinements (theme 1.1.0). Loaded last; each block names the audit item it fixes. */

/* Page hero: Duera campaign photo and a readable breadcrumb on every inner page. */
.inner-page .page-section.has-brand-image {
  background-image:
    linear-gradient(110deg, #120807d9 0%, #12080799 50%, #120807d9 100%),
    var(--duera-page-hero);
  background-position: center, center 22%;
}
.inner-page .page-breadcrumb-box .page-breadcrumb-text-link {
  color: #ffffffcc;
  font-size: 13px;
  text-decoration: none;
}
.inner-page .page-breadcrumb-box .page-breadcrumb-text-link:hover,
.inner-page .page-breadcrumb-box .page-breadcrumb-text-link:focus-visible {
  color: #fff;
  text-decoration: underline;
}
@media screen and (max-width: 767px) {
  .inner-page .page-breadcrumb-box .page-breadcrumb-text-link { font-size: 11px; }
}

/* Shop toolbar: category chips, result count and a styled sort select. */
.product-section .container > .woocommerce-notices-wrapper:empty { display: none; }
.duera-shop-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.duera-shop-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid var(--border-two);
  border-radius: 999px;
  background: #fff;
  color: var(--duera-brown);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.duera-shop-chip:hover { border-color: var(--duera-burgundy); }
.duera-shop-chip.is-active {
  border-color: var(--duera-burgundy);
  background: var(--duera-burgundy);
  color: #fff;
}
.product-section .woocommerce-result-count {
  float: left;
  margin: 0 0 24px;
  line-height: 44px;
  color: var(--duera-brown);
  font-size: 14px;
}
.product-section .woocommerce-ordering {
  float: right;
  margin: 0 0 24px;
}
.product-section .woocommerce-ordering select {
  min-width: 220px;
  height: 44px;
  padding: 0 40px 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23311b14' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--duera-brown);
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.product-section .woocommerce-ordering + .product-collection,
.product-section .woocommerce-result-count ~ .product-collection { clear: both; }
@media screen and (max-width: 479px) {
  .product-section .woocommerce-result-count { float: none; line-height: 1.5; margin-bottom: 10px; }
  .product-section .woocommerce-ordering { float: none; }
  .product-section .woocommerce-ordering select { width: 100%; }
}

/* Product grids: three columns on desktop so a six-piece collection fills two full rows. */
@media screen and (min-width: 992px) {
  .product-collection,
  .duera-pdp-related .product-collection { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
.product-collection .product-title { text-wrap: balance; }
.product-collection .product-price del { opacity: .55; margin-right: 6px; }
.product-collection .product-price ins { text-decoration: none; font-weight: 700; color: var(--duera-burgundy); }

/* Product page: wishlist button, quieter meta and no duplicate sticky bar on desktop. */
.duera-pdp .duera-wishlist-form .duera-wishlist-link {
  width: auto;
  height: auto;
  gap: 8px;
  color: var(--duera-brown);
  font-size: 15px;
  white-space: nowrap;
}
.duera-pdp .duera-wishlist-form .duera-wishlist-link svg { width: 20px; height: 20px; color: var(--duera-burgundy); }
.duera-pdp-links { justify-content: flex-start; gap: 24px; }
.duera-pdp-links .duera-size-link { font-size: 15px; }
.duera-pdp .product_meta { color: #311b14b3; }
.duera-pdp .product_meta a { color: inherit; }
.duera-pdp-details { max-width: 820px; }
.duera-pdp-details .entry-content { font-size: 16px; }
.duera-pdp .woocommerce-breadcrumb { font-size: 14px; color: #311b14b3; }
.duera-pdp .woocommerce-breadcrumb a { color: inherit; text-decoration: none; }
.duera-pdp .woocommerce-breadcrumb a:hover { color: var(--duera-burgundy); text-decoration: underline; }
@media screen and (min-width: 992px) {
  .duera-sticky-purchase { display: none !important; }
}

/* Journal article: comfortable reading width and a contained hero image. */
.journal-article-section .journal-article { max-width: 760px; margin-inline: auto; }
.journal-article-section .journal-article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f3efeb;
  font-size: 14px;
}
.journal-article-section .journal-article-summary {
  margin-bottom: 28px;
  color: var(--duera-brown);
  font-size: 19px;
  line-height: 1.6;
}
.journal-article-section .journal-article-image {
  display: block;
  width: 100%;
  max-height: 620px;
  margin-bottom: 36px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 16px;
}
.journal-article-body { color: var(--duera-brown); font-size: 17px; line-height: 1.8; }
.journal-article-body h2 { margin: 44px 0 14px; font-size: clamp(24px, 3vw, 30px); line-height: 1.25; }
.journal-article-body p,
.journal-article-body ul,
.journal-article-body ol { margin: 0 0 18px; }
.journal-article-body li { margin-bottom: 8px; }
.journal-article-body a { color: var(--duera-burgundy); text-underline-offset: 3px; }
.journal-article-body figure { margin: 8px 0 28px; }
.journal-article-body figure img { display: block; width: 100%; max-width: 520px; height: auto; margin-inline: auto; border-radius: 14px; }
.journal-article-body figcaption { margin-top: 10px; color: #311b1499; font-size: 14px; text-align: center; }
.journal-article-section .post-navigation { max-width: 760px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--border-two); }
.journal-article-section .post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.journal-article-section .post-navigation a { color: var(--duera-brown); font-weight: 600; text-decoration: none; }
.journal-article-section .post-navigation .nav-next { text-align: right; }
@media screen and (max-width: 767px) {
  .journal-article-body { font-size: 16px; }
  .journal-article-section .journal-article-summary { font-size: 17px; }
  .journal-article-section .post-navigation .nav-links { grid-template-columns: 1fr; }
  .journal-article-section .post-navigation .nav-next { text-align: left; }
}

/* Search results and empty states (search, 404). */
.duera-search-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.duera-search-summary .section-text { margin: 0; font-size: 18px; }
.duera-search-again .search-form { display: flex; gap: 10px; width: min(460px, 100%); }
.duera-search-again .search-input {
  flex: 1;
  height: 48px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}
.duera-search-again .primary-button { padding-inline: 22px; }
.duera-search-heading { margin: 8px 0 20px; font-size: clamp(22px, 3vw, 28px); }
.duera-search-section .product-collection + .duera-search-heading { margin-top: 56px; }
.duera-empty-panel {
  max-width: 640px;
  margin-inline: auto;
  padding: 40px 32px;
  border: 1px solid var(--border-two);
  border-radius: 18px;
  background: #fff;
  text-align: center;
}
.duera-empty-panel h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 32px); }
.duera-empty-panel p { margin: 0 0 24px; color: #311b14cc; }
.duera-empty-panel .duera-search-again { display: flex; justify-content: center; margin-bottom: 24px; }
.duera-empty-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; }
.duera-text-link { color: var(--duera-burgundy); font-weight: 600; text-underline-offset: 3px; }
@media screen and (max-width: 479px) {
  .duera-empty-panel { padding: 28px 20px; }
  .duera-search-again .search-form { width: 100%; }
}

/* Home: category column at a sensible height, avatars from Duera products. */
@media screen and (min-width: 768px) {
  .category-section .cat-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  .category-section .cat-info-box { min-height: 100%; }
}
.category-section .category-image-box { aspect-ratio: 4 / 5; }
.category-section .category-image { height: 100%; object-fit: cover; object-position: center 20%; }
@media screen and (min-width: 768px) {
  .category-section .category-image-box { aspect-ratio: 4 / 3; }
}
.category-section .cat-info-image { object-position: center 30%; }
.cat-info-author-img { object-fit: cover; background: #fff; }
@media screen and (max-width: 767px) {
  .category-section .cat-info-box { display: flex; flex-direction: column; background: #fff; }
  .category-section .cat-info-image-box { height: auto; aspect-ratio: 4 / 5; }
  .category-section .cat-info-content {
    position: static;
    max-width: none;
    border-radius: 0 0 12px 12px;
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Home: approach video keeps the poster visible while loading. */
.approach-section .w-background-video video { background-color: #120807; background-size: cover; background-position: center; }
/* 1.2.2 — tablet/mobile keep the desktop proportions (desktop 1440px: video 870x500, story-two photos 428x500):
   every media block is full width and its height follows that ratio; text blocks keep their natural height. */
@media screen and (max-width: 991px) {
  .approach-section .approach-grid,
  .approach-section .approach-grid.two { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-rows: auto; }
  .approach-section .approach-image-box { width: 100%; height: auto; }
  .approach-section .approach-grid:not(.two) > .approach-image-box { aspect-ratio: 87 / 50; }
  .approach-section .approach-grid.two > .approach-image-box { aspect-ratio: 107 / 125; }
  .approach-section .approach-image-box .w-background-video { height: 100%; }
  .approach-section .approach-image-box .approach-image { height: 100%; }
}

/* Newsletter: spacing between title and description, consent text that wraps. */
.subscribe-section .sub-title-span { display: block; margin-top: 6px; }
.duera-newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  white-space: normal;
}
.duera-newsletter-consent input { flex: none; margin-top: 3px; }

/* Cart and checkout copy. */
.duera-cart-variation { margin-top: 6px; color: #311b14b3; font-size: 14px; font-weight: 500; }
[data-cart-discount].duera-discount { color: var(--duera-burgundy); }
.commerce-cart-item h2 a { text-decoration: none; }
.commerce-cart-item h2 a:hover { text-decoration: underline; }
.commerce-button,
.btn-primary { letter-spacing: .02em; text-transform: none; }

/* Mobile menu: dim the page behind the open panel. */
@media screen and (max-width: 991px) {
  .main-header:has(.menu-open-btn[aria-expanded="true"])::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 999;
    background: #12080766;
    pointer-events: none;
  }
}

/* Account sign-in: visible way back to the store, stacked above the panel. */
.auth-column:has(> .duera-auth-back) { flex-direction: column; align-items: center; }
.auth-column > .duera-auth-back { align-self: center; width: min(496px, 100%); }
.auth-column > .auth-panel { width: 100%; }
@media screen and (max-width: 767px) {
  .auth-column:has(> .duera-auth-back) { padding-top: 40px; justify-content: flex-start; }
}
.duera-auth-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--duera-brown);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.duera-auth-back:hover { color: var(--duera-burgundy); text-decoration: underline; }
.duera-auth-back-icon { width: 18px; height: 18px; transform: rotate(180deg); }
/* The absolute submit button stays inside the email field instead of stretching over the consent line. */
.subscribe-section .sub-form .primary-button.newsletter { bottom: auto; height: 44px; padding-block: 0; }
.duera-mobile-submit { text-decoration: none; }

/* ------------------------------------------------------------------ */
/* 1.1.1 — header account menu, icon alignment, desktop auth layout.   */
/* ------------------------------------------------------------------ */

/* Header icons share one vertical axis (the search button was a block whose SVG sat on the text baseline). */
.header-btn-box { align-items: center; }
.header-btn-box > .search-button { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0; line-height: 0; }
.header-btn-box > .search-button .search-btn-icon { display: block; width: 22px; height: 22px; }
.header-btn-box > .duera-wishlist-link { height: 36px; align-items: center; }

/* Icons inside inline/block buttons and links sit on the text's optical centre (flex containers ignore this). */
:is(a, button, label, summary) > svg { vertical-align: middle; }
:is(a, button) > span:has(+ svg), :is(a, button) > svg + span { vertical-align: middle; }

/* Account menu: the last item on the right; signed-in and guest states look clearly different. */
.duera-account-menu { position: relative; display: flex; align-items: center; flex: none; }
.duera-account-trigger {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 4px;
  border: 1px solid transparent; border-radius: 999px; color: var(--duera-brown); font-size: 14px; font-weight: 600; line-height: 1;
  text-decoration: none; white-space: nowrap; transition: background-color .2s ease, border-color .2s ease;
}
.duera-account-menu.is-guest .duera-account-trigger { padding: 0 14px 0 10px; border-color: #311b1433; }
.duera-account-trigger:hover, .duera-account-menu.is-open .duera-account-trigger { background: #4f0a090b; border-color: #4f0a0926; }
.duera-account-trigger:focus-visible { outline: 2px solid var(--duera-burgundy); outline-offset: 3px; }
.duera-account-icon { display: inline-flex; color: var(--duera-burgundy); }
.duera-account-icon svg { display: block; width: 20px; height: 20px; }
.duera-account-avatar {
  position: relative; display: inline-flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--duera-burgundy); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; line-height: 1;
}
.duera-account-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.duera-account-trigger .duera-account-avatar::after {
  content: ""; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; background: #2f8f57;
}
.duera-account-avatar.is-large { width: 44px; height: 44px; font-size: 15px; }
.duera-account-label { max-width: 132px; overflow: hidden; text-overflow: ellipsis; }
.duera-account-greeting { font-weight: 400; color: #311b14b3; }
.duera-account-chevron { width: 16px; height: 16px; color: #311b14b3; transition: transform .2s ease; }
.duera-account-menu.is-open .duera-account-chevron { transform: rotate(180deg); }

.duera-account-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 80; width: 284px; padding: 16px;
  border: 1px solid #311b1414; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px #311b141f; color: var(--duera-brown);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.duera-account-dropdown::before { content: ""; position: absolute; top: -12px; right: 0; left: 0; height: 12px; } /* hover bridge */
.duera-account-menu.is-open .duera-account-dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease; }
@media (hover: hover) and (min-width: 992px) {
  .duera-account-menu:hover .duera-account-dropdown, .duera-account-menu:focus-within .duera-account-dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease; }
}
.duera-account-dropdown-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #311b1414; }
.duera-account-identity { display: grid; gap: 3px; min-width: 0; }
.duera-account-identity strong { overflow: hidden; font-size: 15px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.duera-account-identity small { overflow: hidden; color: #311b1499; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.duera-account-dropdown-links { display: grid; gap: 2px; margin: 8px 0; }
.duera-account-dropdown-links a, .duera-account-logout button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 0; border-radius: 10px; background: transparent;
  color: var(--duera-brown); font: inherit; font-size: 14px; font-weight: 500; line-height: 1.2; text-align: left; text-decoration: none; cursor: pointer;
}
.duera-account-dropdown-links a:hover, .duera-account-dropdown-links a:focus-visible, .duera-account-logout button:hover, .duera-account-logout button:focus-visible { background: #f6f4f1; outline: none; }
.duera-account-dropdown-links svg, .duera-account-logout svg { flex: none; width: 20px; height: 20px; color: var(--duera-burgundy); }
.duera-account-badge { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--duera-burgundy); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; }
.duera-account-logout { margin: 0; padding-top: 8px; border-top: 1px solid #311b1414; }
.duera-account-logout button { color: var(--duera-burgundy); font-weight: 600; }
.duera-account-dropdown-title { margin: 0 0 6px; font-family: "Sk Modernist", Arial, sans-serif; font-size: 17px; font-weight: 600; line-height: 1.25; }
.duera-account-dropdown-text { margin: 0 0 14px; color: #311b14b3; font-size: 13px; line-height: 1.5; }
.duera-account-cta {
  display: flex; align-items: center; justify-content: center; height: 44px; margin-top: 8px; border: 1px solid var(--duera-brown); border-radius: 8px;
  color: var(--duera-brown); font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; transition: background-color .2s ease, color .2s ease;
}
.duera-account-cta:hover { background: #f6f4f1; }
.duera-account-cta.is-primary { border-color: var(--duera-burgundy); background: var(--duera-burgundy); color: #fff; }
.duera-account-cta.is-primary:hover { background: #3c0706; }

@media screen and (max-width: 991px) {
  /* Compact: avatar (signed in) or person icon (guest); the drawer holds the full account menu. */
  .duera-account-label, .duera-account-chevron, .duera-account-dropdown { display: none; }
  .duera-account-trigger, .duera-account-menu.is-guest .duera-account-trigger { justify-content: center; width: 36px; height: 36px; padding: 0; }
  .duera-account-menu.is-guest .duera-account-trigger { border-color: transparent; }
  .duera-mobile-account { display: flex; align-items: center; gap: 12px; padding-bottom: 6px; }
  .duera-mobile-account .duera-account-avatar { width: 40px; height: 40px; font-size: 14px; }
  .duera-mobile-utilities-text { margin: 0 0 6px; color: #311b14b3; font-size: 14px; line-height: 1.5; }
  .duera-mobile-auth-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .duera-mobile-auth-actions .duera-account-cta { margin-top: 0; }
  .duera-mobile-logout { margin: 0; }
  .duera-mobile-logout button { width: 100%; border: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; }
}
@media screen and (max-width: 479px) {
  .header-btn-box > .duera-account-menu, .duera-account-trigger, .duera-account-menu.is-guest .duera-account-trigger { width: 32px; }
  .duera-account-trigger .duera-account-avatar { width: 28px; height: 28px; font-size: 11px; }
}

/* Desktop auth: photo stays in view, the form card is centred with real padding and a matching back link. */
@media screen and (min-width: 1024px) {
  .auth-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .auth-visual { position: sticky; top: 0; height: 100svh; min-height: 0; overflow: hidden; }
  .auth-column, .auth-register .auth-column, .auth-forgot-password .auth-column, .auth-otp .auth-column,
  .auth-reset-password .auth-column, .auth-success-password .auth-column { min-height: 100svh; padding: 56px 48px; justify-content: center; }
  .auth-panel { max-width: 460px; padding: 40px 44px 36px; gap: 16px; border-radius: 20px; background: #f6f4f1; }
  .auth-register .auth-panel { max-width: 540px; }
  .auth-column > .duera-auth-back { width: min(460px, 100%); }
  .auth-register .auth-column > .duera-auth-back { width: min(540px, 100%); }
  .auth-panel h1 { margin: 4px 0 6px; }
  .auth-panel .commerce-button { height: 48px; }
}
.auth-notice { width: 100%; margin: 0; padding: 12px 14px; border-radius: 10px; background: #4f0a090f; color: var(--duera-burgundy); font-size: 14px; line-height: 1.45; text-align: center; }

/* Wishlist: saved state on the product page and a login prompt for guests. */
.duera-pdp .duera-wishlist-form .duera-wishlist-link.is-saved svg { fill: currentColor; }
.duera-wishlist-guest { display: grid; justify-items: center; gap: 14px; max-width: 520px; margin: 0 auto; padding: 48px 24px; text-align: center; }
.duera-wishlist-guest > svg { width: 40px; height: 40px; color: var(--duera-burgundy); }
.duera-wishlist-guest h2 { margin: 0; font-size: 24px; }
.duera-wishlist-guest p { margin: 0; color: #311b14b3; line-height: 1.6; }
.duera-wishlist-guest-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.duera-wishlist-guest-actions .duera-account-cta { min-width: 160px; margin-top: 0; padding-inline: 20px; }

/* ------------------------------------------------------------------ */
/* 1.2.0 — homepage rapi: card sama tinggi, swatch warna, FAQ, jurnal, */
/* kontak berikon.                                                      */
/* ------------------------------------------------------------------ */

/* Product cards: same height in every grid (home, shop, search, related, wishlist). */
.product-collection > .w-dyn-item { display: flex; min-width: 0; }
.product-collection .product-block { display: flex; flex: 1 1 auto; flex-direction: column; height: 100%; }
.product-collection .product-image-box { flex: none; aspect-ratio: 4 / 5; }
.product-collection .product-image { height: 100%; object-fit: cover; }
.product-collection .product-content-box { display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; width: 100%; }
.product-collection .product-title {
  display: -webkit-box; min-height: 2.5em; overflow: hidden; line-height: 1.25;
  -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
}
.product-collection .duera-card-swatches { margin-top: auto; padding-top: 14px; }
@media screen and (max-width: 479px) {
  /* Two narrow columns: smaller type and room for three lines so full names stay readable. */
  .product-collection .product-title { font-size: 15px; -webkit-line-clamp: 3; line-clamp: 3; }
}

/* Colour swatches instead of "Black | Navy | Grey" text. */
.duera-card-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; line-height: 1; }
.duera-swatch {
  position: relative; display: inline-block; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--duera-swatch, #e9e6e2); box-shadow: 0 0 0 2px #fff, 0 0 0 3px #311b1429;
}
.duera-swatch.is-unknown { background: repeating-linear-gradient(45deg, #e4e0db 0 3px, #fff 3px 6px); }
.duera-swatch-more { color: #311b14b3; font-size: 12px; font-weight: 600; }
.duera-card-swatches.is-small { gap: 6px; margin-top: 6px; }
.duera-card-swatches.is-small .duera-swatch { width: 12px; height: 12px; box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px #311b1429; }
@media screen and (max-width: 479px) {
  .duera-card-swatches { gap: 7px; }
  .duera-swatch { width: 15px; height: 15px; }
}

/* Breathing room above "Belanja semua produk" / "Baca jurnal". */
.product-section .w-dyn-list + .primary-button,
.blog-section .journal-grid + .primary-button { margin-top: 48px; }
@media screen and (max-width: 767px) {
  .product-section .w-dyn-list + .primary-button,
  .blog-section .journal-grid + .primary-button { margin-top: 32px; }
}

/* Home categories: the plus became an arrow link to the shop. */
.duera-cat-info-link { flex: none; color: #fff; text-decoration: none; transition: background-color .25s ease; }
.duera-cat-info-link svg { display: block; width: 22px; height: 22px; transition: transform .25s ease; }
.duera-cat-info-link:hover, .duera-cat-info-link:focus-visible { background-color: var(--duera-burgundy); }
.duera-cat-info-link:hover svg, .duera-cat-info-link:focus-visible svg { transform: translateX(3px); }
.duera-cat-info-link:focus-visible { outline: 2px solid var(--duera-burgundy); outline-offset: 3px; }

/* Journal cards: one 4:5 image frame, aligned meta and titles (home, journal list, search, article). */
.journal-grid > .w-dyn-item { display: flex; min-width: 0; }
.journal-grid .blog-block { display: flex; flex-direction: column; width: 100%; height: 100%; color: var(--duera-brown); text-decoration: none; }
.blog-cms.journal-grid .blog-image-box { flex: none; height: auto; aspect-ratio: 4 / 5; margin-bottom: 16px; background: #f3efeb; }
.journal-grid .blog-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .6s ease; }
.journal-grid .blog-block:hover .blog-image { transform: scale(1.03); }
.journal-grid .blog-meta-box { margin-bottom: 12px; }
.journal-grid .blog-title {
  display: -webkit-box; min-height: 2.5em; margin: 0; overflow: hidden; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.25;
  -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; transition: color .2s ease;
}
.journal-grid .blog-block:hover .blog-title { color: var(--duera-burgundy); }

/* Home FAQ: intro on the left, card accordion with a plus/minus toggle. */
.faq-section .faq-grid { align-items: start; column-gap: 64px; }
.faq-section .faq-title-box { justify-content: flex-start; align-items: flex-start; gap: 28px; }
.faq-section .faq-title-box .section-title-box { margin-bottom: 0; }
.faq-section .faq-title-box .primary-button { width: auto; }
@media screen and (min-width: 992px) {
  .faq-section .faq-title-box { position: sticky; top: 110px; }
}
.faq-content-box:has(> .duera-native-faq) { display: grid; gap: 12px; }
.faq-content-box > .duera-native-faq {
  padding: 0; border: 1px solid #311b141f; border-radius: 14px; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-content-box > .duera-native-faq:hover { border-color: #311b1440; }
.faq-content-box > .duera-native-faq[open] { border-color: #4f0a0933; box-shadow: 0 12px 32px #311b140f; }
.faq-content-box > .duera-native-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px;
  font-size: 18px; font-weight: 600; line-height: 1.35; list-style: none; cursor: pointer;
}
.faq-content-box > .duera-native-faq summary::-webkit-details-marker { display: none; }
.faq-content-box > .duera-native-faq summary:focus-visible { outline: 2px solid var(--duera-burgundy); outline-offset: -2px; border-radius: 14px; }
.duera-faq-toggle {
  display: inline-flex; flex: none; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
  background: #f3efeb; color: var(--duera-burgundy); transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.duera-faq-toggle svg { width: 18px; height: 18px; }
.duera-faq-toggle .icon-plus-v { transition: opacity .2s ease; }
.duera-native-faq[open] .duera-faq-toggle { background: var(--duera-burgundy); color: #fff; transform: rotate(180deg); }
.duera-native-faq[open] .duera-faq-toggle .icon-plus-v { opacity: 0; }
.duera-faq-answer { padding: 0 22px 22px; color: #311b14cc; font-size: 16px; line-height: 1.7; }
.duera-faq-answer > :first-child { margin-top: 0; }
.duera-faq-answer > :last-child { margin-bottom: 0; }
.duera-faq-answer a { color: var(--duera-burgundy); text-underline-offset: 3px; }
@media screen and (max-width: 767px) {
  .faq-section .faq-grid { row-gap: 32px; }
  .faq-content-box > .duera-native-faq summary { padding: 16px 18px; font-size: 16px; }
  .duera-faq-answer { padding: 0 18px 18px; font-size: 15px; }
}

/* Journal article: card-style previous/next links, "more articles" and real space before the footer. */
.inner-page .journal-article-section { padding-top: 64px; padding-bottom: 96px; }
.journal-article-section .post-navigation { margin-top: 56px; padding-top: 32px; }
.journal-article-section .post-navigation .nav-links > div { min-width: 0; }
.journal-article-section .post-navigation .nav-next { grid-column: 2; }
.journal-article-section .post-navigation a {
  display: grid; gap: 6px; height: 100%; padding: 18px 20px; border: 1px solid var(--border-two); border-radius: 14px; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.journal-article-section .post-navigation a:hover { border-color: #4f0a0940; box-shadow: 0 10px 28px #311b140f; }
.journal-nav-label { color: #311b1499; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.journal-nav-title { font-family: "Sk Modernist", Arial, sans-serif; font-size: 17px; line-height: 1.35; }
.inner-page .journal-more-section { padding-top: 72px; padding-bottom: 140px; border-top: 1px solid var(--border-two); background: #f6f4f1; }
.journal-more-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.journal-more-head .section-title-box { margin-bottom: 0; }
.journal-more-head .section-title { font-size: clamp(30px, 4vw, 44px); }
/* Journal list (and any inner page ending in a home-style "pb-zero" section) keeps the same space before the footer. */
.inner-page main > section.pb-zero:last-child { padding-bottom: 140px; }
@media screen and (max-width: 767px) {
  .inner-page main > section.pb-zero:last-child { padding-bottom: 96px; }
  .inner-page .journal-article-section { padding-top: 40px; padding-bottom: 64px; }
  .journal-article-section .post-navigation .nav-next { grid-column: auto; }
  .inner-page .journal-more-section { padding-top: 48px; padding-bottom: 96px; }
}

/* Contact page: address, email and WhatsApp with icons. */
.duera-contact-list { display: grid; gap: 16px; margin: 32px 0 8px; padding: 0; list-style: none; }
.duera-contact-item { display: flex; align-items: flex-start; gap: 14px; }
.duera-contact-icon {
  display: inline-flex; flex: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
  background: #4f0a090f; color: var(--duera-burgundy);
}
.duera-contact-icon svg { width: 21px; height: 21px; }
.duera-contact-body { display: grid; gap: 3px; min-width: 0; padding-top: 3px; }
.duera-contact-label { color: #311b1499; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.duera-contact-value { color: var(--duera-brown); font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.duera-contact-value a { color: inherit; text-decoration: none; }
.duera-contact-value a:hover, .duera-contact-value a:focus-visible { color: var(--duera-burgundy); text-decoration: underline; text-underline-offset: 3px; }

/* Brand film popup (1.2.0): dark cinematic stage, Duera heading, rounded frame, shop call to action. */
.duera-film-modal {
  /* Width follows the viewport height so the 16:9 frame, heading and footer always share one edge. */
  width: min(1080px, calc(100vw - 48px), calc((100dvh - 230px) * 16 / 9)); min-width: min(560px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0;
  border: 0; background: transparent; color: #fff; overflow: visible;
  animation: duera-film-in .32s cubic-bezier(.2, .8, .2, 1);
}
.duera-film-modal::backdrop { background: #120807e6; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: duera-film-fade .32s ease; }
.duera-film-modal.is-closing { animation: duera-film-out .22s ease forwards; }
.duera-film-modal.is-closing::backdrop { animation: duera-film-fade-out .22s ease forwards; }
body:has(.duera-film-modal[open]) { overflow: hidden; }
.duera-film-panel { display: grid; gap: 18px; }
.duera-film-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.duera-film-heading { display: grid; gap: 10px; min-width: 0; }
.duera-film-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin: 0; padding: 6px 12px; border-radius: 6px;
  background: #ffffff1f; color: #ffffffd9; font-size: 12px; font-weight: 600; letter-spacing: .08em; line-height: 1;
}
.duera-film-dot { width: 6px; height: 6px; border-radius: 1px; background: currentColor; }
.duera-film-title { margin: 0; color: #fff; font-family: "Sk Modernist", Arial, sans-serif; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.08; }
.duera-film-close {
  display: inline-flex; flex: none; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0;
  border: 1px solid #ffffff40; border-radius: 50%; background: #ffffff14; color: #fff; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.duera-film-close svg { width: 22px; height: 22px; }
.duera-film-close:hover { background: #fff; color: var(--duera-brown); transform: rotate(90deg); }
.duera-film-close:focus-visible, .duera-film-cta:focus-visible, .duera-film-replay:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.duera-film-frame {
  position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 18px;
  background: #000; box-shadow: 0 30px 80px #00000080;
}
.duera-film-media { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.duera-film-spinner {
  position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 3px solid #ffffff33; border-top-color: #fff;
  border-radius: 50%; opacity: 0; pointer-events: none; animation: duera-film-spin .8s linear infinite; transition: opacity .2s ease;
}
.duera-film-frame.is-loading .duera-film-spinner { opacity: 1; }
.duera-film-replay {
  position: absolute; top: 50%; left: 50%; display: none; align-items: center; gap: 10px; padding: 14px 22px; border: 0; border-radius: 999px;
  background: #fff; color: var(--duera-brown); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transform: translate(-50%, -50%);
  box-shadow: 0 12px 30px #0000004d;
}
.duera-film-replay svg { width: 20px; height: 20px; }
.duera-film-frame.is-ended .duera-film-replay { display: inline-flex; }
.duera-film-frame.is-ended .duera-film-media { opacity: .45; }
.duera-film-error { position: absolute; inset: auto 20px 20px; display: none; margin: 0; padding: 12px 16px; border-radius: 10px; background: #fff; color: var(--duera-brown); font-size: 14px; }
.duera-film-frame.has-error .duera-film-error { display: block; }
.duera-film-frame.has-error .duera-film-spinner { display: none; }
.duera-film-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.duera-film-text { max-width: 560px; margin: 0; color: #ffffffb3; font-size: 15px; line-height: 1.6; }
.duera-film-cta {
  display: inline-flex; align-items: center; gap: 10px; margin-left: auto; padding: 14px 24px; border-radius: 8px;
  background: #fff; color: var(--duera-brown); font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.duera-film-cta svg { width: 20px; height: 20px; transition: transform .2s ease; }
.duera-film-cta:hover { background: var(--duera-burgundy); color: #fff; }
.duera-film-cta:hover svg { transform: translateX(3px); }
@keyframes duera-film-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes duera-film-out { to { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes duera-film-fade { from { opacity: 0; } }
@keyframes duera-film-fade-out { to { opacity: 0; } }
@keyframes duera-film-spin { to { transform: rotate(360deg); } }
@media screen and (max-width: 767px) {
  .duera-film-modal { width: calc(100vw - 24px); min-width: 0; }
  .duera-film-panel { gap: 14px; }
  .duera-film-head { align-items: flex-start; }
  .duera-film-close { width: 42px; height: 42px; }
  .duera-film-frame { border-radius: 12px; }
  .duera-film-foot { flex-direction: column; align-items: stretch; }
  .duera-film-text { font-size: 14px; }
  .duera-film-cta { justify-content: center; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .duera-film-modal, .duera-film-modal::backdrop, .duera-film-modal.is-closing, .duera-film-modal.is-closing::backdrop { animation: none; }
  .duera-film-close:hover { transform: none; }
}
/* 1.2.3 — catatan bantuan di bawah OTP: kode hanya untuk akun pelanggan, cek Spam/Promosi. */
.auth-hint { margin: 12px 0 0; font-size: 13px; line-height: 1.55; color: rgba(17, 17, 17, .62); text-align: center; }
/* 1.3.2 — checkout courier: the Duera dropdown fills the column (old 42px white box removed),
   optional carrier logo sits inside the trigger, service radios keep their size when text wraps. */
.commerce-carrier { position: relative; height: auto; padding: 0; gap: 0; background: none; border-radius: 0; }
.commerce-carrier > .duera-select { flex: 1 1 auto; width: 100%; }
.commerce-carrier .duera-select-trigger { min-height: 52px; padding: 13px 16px; border-color: #311b1433; border-radius: 10px; color: var(--dark, #311b14); background: #fff; font-size: 15px; font-weight: 500; }
.commerce-carrier .duera-select-trigger:hover { border-color: #311b1466; background: #fff; }
.commerce-carrier > img:not([hidden]) { position: absolute; z-index: 1; top: 50%; left: 16px; transform: translateY(-50%); pointer-events: none; }
.commerce-carrier:has(> img:not([hidden])) .duera-select-trigger { padding-left: 62px; }
.commerce-shipping-services label { align-items: center; line-height: 1.45; }
.commerce-shipping-services input[type="radio"] { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--duera-burgundy, #4f0a09); }
.commerce-shipping-services label > span:first-of-type { flex: 1 1 auto; min-width: 0; }
.commerce-shipping-services label > span:last-child { flex: none; padding-left: 8px; }
@media (max-width: 767px) { .commerce-carrier .duera-select-trigger { font-size: 16px; } }
/* 1.3.3 — no shipping rates yet: one calm message instead of an empty courier picker. */
.duera-shipping-empty { padding: 18px 20px; border-radius: 10px; color: #311b14b3; background: #fff; font-size: 14px; line-height: 1.55; }
.duera-shipping-empty.is-unavailable { color: var(--duera-burgundy, #4f0a09); }
/* 1.6.1 — order card actions on phones: buttons keep their label on one line ("Lanjutkan pembayaran") and wrap to a second row instead of squeezing to equal widths. */
@media (max-width: 600px) { .duera-acc-order-actions .duera-acc-btn { flex: 1 1 auto; white-space: nowrap; } }

/* 1.8.1 product page: one-line breadcrumb, − / + quantity, one-line add-to-cart, 15px phone gutter. */
.duera-pdp .woocommerce-breadcrumb { display: block; overflow: hidden; font-size: 13px; line-height: 1.5; white-space: nowrap; text-overflow: ellipsis; }
.duera-pdp form.cart:not(.variations_form), .duera-pdp .woocommerce-variation-add-to-cart { display: flex; align-items: stretch; gap: 10px; }
.duera-pdp .duera-qty { display: inline-flex; flex: none; align-items: center; height: 52px; overflow: hidden; border: 1px solid #311b1466; border-radius: 10px; background: #fff; }
.duera-pdp .duera-qty:focus-within { border-color: var(--duera-burgundy); box-shadow: 0 0 0 1px var(--duera-burgundy); }
.duera-pdp .duera-qty-button { display: grid; place-items: center; width: 42px; height: 100%; padding: 0; border: 0; color: var(--duera-brown); background: transparent; cursor: pointer; transition: background-color 0.15s ease; }
.duera-pdp .duera-qty-button:hover:not(:disabled) { background: #f6f3ef; }
.duera-pdp .duera-qty-button:disabled { opacity: 0.3; cursor: default; }
.duera-pdp .duera-qty-button svg { width: 18px; height: 18px; }
.duera-pdp .duera-qty input.qty { width: 40px; max-width: none; height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 16px; font-weight: 600; text-align: center; appearance: textfield; -moz-appearance: textfield; }
.duera-pdp .duera-qty input.qty::-webkit-inner-spin-button, .duera-pdp .duera-qty input.qty::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.duera-pdp .duera-qty input.qty:focus, .duera-pdp .duera-qty input.qty:focus-visible { outline: none; }
.duera-pdp .single_add_to_cart_button { display: flex; flex: 1 1 auto; align-items: center; justify-content: center; min-width: 0; height: 52px; padding: 0 18px; overflow: hidden; font-size: 15px; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; }
@media screen and (max-width: 767px) {
  .duera-pdp { padding-top: 14px; padding-inline: 0; }
  .duera-pdp-grid { margin-top: 12px; }
  .duera-pdp .woocommerce-breadcrumb { font-size: 12.5px; }
}

/* 1.9.0 Favorit: a filled heart on each card removes it; a toast offers "Batalkan". */
.duera-wish-item { position: relative; transition: opacity 0.2s ease, transform 0.2s ease; }
.duera-wish-item.is-leaving { opacity: 0; transform: scale(0.97); }
.duera-card-unwish { position: absolute; top: 10px; right: 10px; z-index: 2; margin: 0; }
.duera-card-unwish button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; color: var(--duera-burgundy); background: #ffffffeb; box-shadow: 0 2px 8px #311b1424; cursor: pointer; transition: transform 0.15s ease, background-color 0.15s ease; }
.duera-card-unwish button:hover { background: #fff; transform: scale(1.06); }
.duera-card-unwish button:focus-visible { outline: 2px solid var(--duera-burgundy); outline-offset: 2px; }
.duera-card-unwish button:disabled { opacity: 0.6; cursor: default; }
.duera-card-unwish svg { width: 21px; height: 21px; fill: currentColor; }
.duera-wish-empty { display: grid; justify-items: center; gap: 16px; padding: 40px 16px; text-align: center; }
.duera-wish-empty[hidden] { display: none; }
.duera-wish-toast { position: fixed; bottom: calc(24px + env(safe-area-inset-bottom)); left: 50%; z-index: 1300; display: flex; align-items: center; gap: 16px; width: max-content; max-width: calc(100vw - 32px); padding: 12px 16px; border-radius: 10px; color: #fff; background: #2a1712f2; font-size: 14px; line-height: 1.45; transform: translateX(-50%); }
.duera-wish-toast[hidden] { display: none; }
.duera-wish-toast button { flex: none; padding: 0; border: 0; color: #f3c9a8; background: none; font-weight: 700; cursor: pointer; }
@media screen and (max-width: 767px) {
  .duera-card-unwish { top: 8px; right: 8px; }
  .duera-card-unwish button { width: 36px; height: 36px; }
  .duera-card-unwish svg { width: 19px; height: 19px; }
}
