.elementor-1208 .elementor-element.elementor-element-f34a2c6{--display:flex;--min-height:90vh;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:flex-start;--gap:20px 20px;--row-gap:20px;--column-gap:20px;--overlay-opacity:0.45;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:120px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1208 .elementor-element.elementor-element-f34a2c6:not(.elementor-motion-effects-element-type-background), .elementor-1208 .elementor-element.elementor-element-f34a2c6 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://ptdmi.id/wp-content/uploads/2026/06/produk-ptdmi.webp");background-position:center center;background-size:cover;}.elementor-1208 .elementor-element.elementor-element-f34a2c6::before, .elementor-1208 .elementor-element.elementor-element-f34a2c6 > .elementor-background-video-container::before, .elementor-1208 .elementor-element.elementor-element-f34a2c6 > .e-con-inner > .elementor-background-video-container::before, .elementor-1208 .elementor-element.elementor-element-f34a2c6 > .elementor-background-slideshow::before, .elementor-1208 .elementor-element.elementor-element-f34a2c6 > .e-con-inner > .elementor-background-slideshow::before, .elementor-1208 .elementor-element.elementor-element-f34a2c6 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-color:var( --e-global-color-923bf1c );--background-overlay:'';}.elementor-1208 .elementor-element.elementor-element-7c9a796{--spacer-size:50px;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-1208 .elementor-element.elementor-element-8da08c0{width:var( --container-widget-width, 79% );max-width:79%;--container-widget-width:79%;--container-widget-flex-grow:0;}.elementor-1208 .elementor-element.elementor-element-8da08c0 .elementor-heading-title{font-family:"Manrope", Sans-serif;font-size:24px;font-weight:500;text-transform:uppercase;font-style:normal;color:#FFFFFF;}.elementor-1208 .elementor-element.elementor-element-be218a6{width:var( --container-widget-width, 79% );max-width:79%;--container-widget-width:79%;--container-widget-flex-grow:0;}.elementor-1208 .elementor-element.elementor-element-be218a6 .elementor-heading-title{font-family:"Sohne", Sans-serif;font-size:54px;font-weight:500;text-transform:uppercase;font-style:normal;color:#FFFFFF;}.elementor-1208 .elementor-element.elementor-element-4c519a2{--display:flex;}.elementor-1208 .elementor-element.elementor-element-0a5d560{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:50px;--padding-left:0px;--padding-right:0px;}.elementor-widget-ucaddon_content_accordion .ue_ca_additional_content{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-ucaddon_content_accordion .ue_heading_title,.elementor-widget-ucaddon_content_accordion .uc-heading{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-ucaddon_content_accordion .ue-item-title{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-ucaddon_content_accordion .ue-item-text{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-ucaddon_content_accordion .uc_more_btn{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-1208 .elementor-element.elementor-element-57e8335 .uc_content{background-color:#f8f8f8;text-align:left;padding:30px 30px 30px 30px;border-radius:0px;}.elementor-1208 .elementor-element.elementor-element-57e8335 .uc-heading{flex-direction:row;background-color:var( --e-global-color-24d0506 );border-radius:0px;padding:0px 0px 0px 0px;}.elementor-1208 .elementor-element.elementor-element-57e8335 .uc_ac_box{border-radius:20px 20px 20px 20px;}.elementor-1208 .elementor-element.elementor-element-57e8335 span.ue_accordion_icon{width:50px;height:50px;border-radius:0px;font-size:10px;}.elementor-1208 .elementor-element.elementor-element-57e8335 span.uc_dactive{color:#ffffff;}.elementor-1208 .elementor-element.elementor-element-57e8335 span.uc_dactive svg{fill:#ffffff;}.elementor-1208 .elementor-element.elementor-element-57e8335 span.uc_active{color:#ffffff;}.elementor-1208 .elementor-element.elementor-element-57e8335 span.uc_active svg{fill:#ffffff;}.elementor-1208 .elementor-element.elementor-element-57e8335 .uc-item-active .uc-heading{background-color:var( --e-global-color-24d0506 );}.elementor-1208 .elementor-element.elementor-element-57e8335 .ue_heading_title{padding:10px 10px 10px 10px;color:#ffffff;}.elementor-1208 .elementor-element.elementor-element-57e8335 .uc-item-active .ue_heading_title{color:#ffffff;}.elementor-1208 .elementor-element.elementor-element-57e8335 .ue_heading_title,.elementor-1208 .elementor-element.elementor-element-57e8335 .uc-heading{font-family:"Manrope", Sans-serif;font-size:16px;font-weight:400;}.elementor-1208 .elementor-element.elementor-element-57e8335 .ue-item-title{color:#000000;font-family:"Manrope", Sans-serif;font-weight:400;margin-top:0px;}.elementor-1208 .elementor-element.elementor-element-57e8335 .ue-item-text{color:#1e1e1e;font-family:"Manrope", Sans-serif;font-size:14px;font-weight:400;margin-top:15px;}.elementor-1208 .elementor-element.elementor-element-57e8335 .uc_more_btn{padding:10px 20px 10px 20px;border-radius:0px;background-color:#000000;color:#ffffff;margin-top:20px;}.elementor-1208 .elementor-element.elementor-element-57e8335 .uc_more_btn:hover{background-color:#000000;color:#ffffff;}:root{--page-title-display:none;}@media(max-width:767px){.elementor-1208 .elementor-element.elementor-element-f34a2c6{--justify-content:flex-end;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:-120px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:50px;--padding-left:10px;--padding-right:10px;}.elementor-1208 .elementor-element.elementor-element-8da08c0{width:100%;max-width:100%;}.elementor-1208 .elementor-element.elementor-element-8da08c0 .elementor-heading-title{font-size:34px;line-height:36px;letter-spacing:3.5px;}.elementor-1208 .elementor-element.elementor-element-be218a6{width:100%;max-width:100%;}.elementor-1208 .elementor-element.elementor-element-be218a6 .elementor-heading-title{font-size:34px;line-height:36px;letter-spacing:3.5px;}}/* Start custom CSS for container, class: .elementor-element-4c519a2 */@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* ============================================================
   PTDMI — Produk Pages CSS
   Covers: archive (taxonomy-kategori-produk) + single-produk
   Font: Manrope
   Brand colors: navy #0d1a3a | blue #1a56db
   ============================================================ */

/* ── Reset & Variables ── */
:root {
  --ptdmi-navy: #0d1a3a;
  --ptdmi-navy-light: #1c285c;
  --ptdmi-blue: #1a56db;
  --ptdmi-blue-light: #dbeafe;
  --ptdmi-blue-text: #1e40af;
  --ptdmi-border: rgba(0, 0, 0, 0.08);
  --ptdmi-bg: #f8f9fb;
  --ptdmi-card-bg: #ffffff;
  --ptdmi-text: #111827;
  --ptdmi-muted: #6b7280;
  --ptdmi-radius-sm: 8px;
  --ptdmi-radius-md: 12px;
  --ptdmi-radius-lg: 16px;
  --ptdmi-shadow: 0 1px 3px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* ── Wrapper ── */
.ptdmi-archive-wrap,
.ptdmi-single-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 64px;
  font-family: "Manrope", sans-serif;
  color: var(--ptdmi-text);
}

/* ============================================================
     ARCHIVE — Hero
     ============================================================ */
.ptdmi-archive-hero {
  background: var(--ptdmi-navy);
  background-size: cover;
  background-position: center;
  border-radius: var(--ptdmi-radius-lg);
  padding: 48px 40px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.ptdmi-archive-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 26, 58, 0.92) 0%,
    rgba(13, 26, 58, 0.6) 100%
  );
}

.ptdmi-archive-hero__inner {
  position: relative;
  z-index: 1;
}

.ptdmi-archive-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.ptdmi-archive-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.15s;
}

.ptdmi-archive-hero__breadcrumb a:hover {
  color: #fff;
}

.ptdmi-archive-hero__title {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.3;
}

.ptdmi-archive-hero__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.ptdmi-archive-hero__meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  gap: 16px;
}

/* ============================================================
     ARCHIVE — Layout (sidebar + main)
     ============================================================ */
.ptdmi-archive-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .ptdmi-archive-layout {
    grid-template-columns: 1fr;
  }
}

/* ── Sidebar ── */
.ptdmi-archive-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ptdmi-sidebar-card {
  background: var(--ptdmi-card-bg);
  border: 1px solid var(--ptdmi-border);
  border-radius: var(--ptdmi-radius-md);
  padding: 16px;
}

.ptdmi-sidebar-card__title {
  font-size: 12px;
  font-weight: 600;
  color: var(--ptdmi-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ptdmi-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ptdmi-filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: var(--ptdmi-radius-sm);
  font-size: 13px;
  color: var(--ptdmi-text);
  text-decoration: none;
  transition: background 0.12s;
  cursor: pointer;
}

.ptdmi-filter-item:hover {
  background: var(--ptdmi-blue-light);
  color: var(--ptdmi-blue-text);
}

.ptdmi-filter-item.is-active {
  background: var(--ptdmi-blue-light);
  color: var(--ptdmi-blue-text);
  font-weight: 500;
}

.ptdmi-filter-item.is-active .ptdmi-filter-count {
  background: rgba(26, 86, 219, 0.15);
  color: var(--ptdmi-blue-text);
}

.ptdmi-filter-count {
  font-size: 11px;
  background: var(--ptdmi-bg);
  color: var(--ptdmi-muted);
  padding: 2px 8px;
  border-radius: 20px;
  flex-shrink: 0;
}

.ptdmi-filter-brand-logo {
  max-height: 20px;
  width: auto;
  object-fit: contain;
}

/* Sidebar CTA */
.ptdmi-sidebar-cta {
  background: var(--ptdmi-navy);
  border-radius: var(--ptdmi-radius-md);
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ptdmi-sidebar-cta__icon {
  margin-bottom: 4px;
}

.ptdmi-sidebar-cta__title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.ptdmi-sidebar-cta__desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin: 0;
}

.ptdmi-sidebar-cta__btn {
  display: block;
  width: 100%;
  background: var(--ptdmi-blue);
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  margin-top: 4px;
  transition: opacity 0.15s;
}

.ptdmi-sidebar-cta__btn:hover {
  opacity: 0.9;
}

/* ── Toolbar ── */
.ptdmi-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ptdmi-toolbar__tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.ptdmi-toolbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ptdmi-toolbar__count {
  font-size: 13px;
  color: var(--ptdmi-muted);
  margin: 0;
  white-space: nowrap;
}

.ptdmi-toolbar__reset {
  color: var(--ptdmi-blue);
  text-decoration: none;
  margin-left: 6px;
  font-weight: 600;
}

/* ============================================================
     PRODUCT CARD (shared: archive + related)
     ============================================================ */
.ptdmi-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.ptdmi-product-grid--related {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .ptdmi-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ptdmi-product-grid--related {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ptdmi-product-grid,
  .ptdmi-product-grid--related {
    grid-template-columns: 1fr;
  }
}

.ptdmi-product-card {
  background: var(--ptdmi-card-bg);
  border: 1px solid var(--ptdmi-border);
  border-radius: var(--ptdmi-radius-lg);
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  display: flex;
  flex-direction: column;
}

.ptdmi-product-card:hover {
  box-shadow:
    var(--ptdmi-shadow),
    0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.ptdmi-product-card__img-wrap {
  display: block;
  background: var(--ptdmi-bg);
  height: 180px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.ptdmi-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.3s ease;
}

.ptdmi-product-card:hover .ptdmi-product-card__img {
  transform: scale(1.04);
}

.ptdmi-product-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ptdmi-muted);
}

.ptdmi-product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--ptdmi-navy);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.ptdmi-product-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ptdmi-product-card__title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.4;
}

.ptdmi-product-card__title a {
  color: var(--ptdmi-text);
  text-decoration: none;
}

.ptdmi-product-card__title a:hover {
  color: var(--ptdmi-blue);
}

.ptdmi-product-card__sub {
  font-size: 12px;
  color: var(--ptdmi-muted);
  margin: 0 0 12px;
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ptdmi-product-card__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.ptdmi-btn-detail {
  font-size: 12px;
  color: var(--ptdmi-blue-text);
  background: var(--ptdmi-blue-light);
  padding: 5px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.12s;
  white-space: nowrap;
}

.ptdmi-btn-detail:hover {
  background: #bfdbfe;
}

.ptdmi-btn-wa {
  font-size: 12px;
  color: #fff;
  background: #25d366;
  padding: 5px 12px;
  border-radius: 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.12s;
  white-space: nowrap;
}

.ptdmi-btn-wa:hover {
  background: #1fb855;
}

/* ── Pagination ── */
.ptdmi-pagination {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.ptdmi-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ptdmi-pagination .page-numbers li a,
.ptdmi-pagination .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--ptdmi-radius-sm);
  border: 1px solid var(--ptdmi-border);
  font-size: 13px;
  font-family: "Manrope", sans-serif;
  color: var(--ptdmi-text);
  text-decoration: none;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}

.ptdmi-pagination .page-numbers li a:hover {
  background: var(--ptdmi-blue-light);
  border-color: var(--ptdmi-blue);
  color: var(--ptdmi-blue-text);
}

.ptdmi-pagination .page-numbers li span.current {
  background: var(--ptdmi-navy);
  color: #fff;
  border-color: var(--ptdmi-navy);
  font-weight: 600;
}

/* ── Empty state ── */
.ptdmi-empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--ptdmi-muted);
}

.ptdmi-empty-state a {
  color: var(--ptdmi-blue);
  text-decoration: underline;
}

/* ============================================================
     SINGLE PRODUK
     ============================================================ */

/* Breadcrumb */
.ptdmi-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ptdmi-muted);
  margin: 24px 0 24px;
  flex-wrap: wrap;
}

.ptdmi-breadcrumb a {
  color: var(--ptdmi-muted);
  text-decoration: none;
}

.ptdmi-breadcrumb a:hover {
  color: var(--ptdmi-blue);
}

.ptdmi-breadcrumb span:last-child {
  color: var(--ptdmi-text);
  font-weight: 500;
}

/* Hero: gambar + info */
.ptdmi-single-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .ptdmi-single-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Gallery */
.ptdmi-single-gallery__main {
  background: var(--ptdmi-bg);
  border-radius: var(--ptdmi-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ptdmi-border);
}

.ptdmi-single-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: transform 0.3s ease;
}

.ptdmi-single-gallery__placeholder {
  font-size: 13px;
  color: var(--ptdmi-muted);
}

.ptdmi-single-gallery__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.ptdmi-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--ptdmi-radius-sm);
  border: 2px solid var(--ptdmi-border);
  overflow: hidden;
  cursor: pointer;
  background: var(--ptdmi-bg);
  padding: 0;
  transition: border-color 0.15s;
}

.ptdmi-thumb.is-active {
  border-color: var(--ptdmi-blue);
}
.ptdmi-thumb:hover {
  border-color: var(--ptdmi-blue);
}

.ptdmi-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

/* Info panel */
.ptdmi-single-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ptdmi-single-info__brand-logo {
  margin-bottom: 14px;
}

.ptdmi-single-info__brand-logo img {
  max-height: 28px;
  width: auto;
  object-fit: contain;
}

.ptdmi-single-info__brand-badge {
  display: inline-block;
  background: var(--ptdmi-navy);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.ptdmi-single-info__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--ptdmi-text);
}

.ptdmi-single-info__sub {
  font-size: 14px;
  color: var(--ptdmi-muted);
  margin: 0 0 12px;
  line-height: 1.6;
}

.ptdmi-single-info__kategori {
  font-size: 13px;
  color: var(--ptdmi-muted);
  margin-bottom: 16px;
}

.ptdmi-single-info__kategori a {
  color: var(--ptdmi-blue);
  text-decoration: none;
  font-weight: 500;
}

.ptdmi-single-info__divider {
  height: 1px;
  background: var(--ptdmi-border);
  margin: 16px 0;
}

.ptdmi-single-info__price {
  font-size: 22px;
  font-weight: 700;
  color: var(--ptdmi-navy);
  margin-bottom: 20px;
}

/* CTA buttons */
.ptdmi-single-info__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.ptdmi-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.ptdmi-cta-primary:hover {
  opacity: 0.9;
}

.ptdmi-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ptdmi-navy);
  border: 1.5px solid var(--ptdmi-navy);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}

.ptdmi-cta-secondary:hover {
  background: var(--ptdmi-navy);
  color: #fff;
}

.ptdmi-single-info__note {
  font-size: 12px;
  color: var(--ptdmi-muted);
  margin: 0 0 16px;
}

/* Tags */
.ptdmi-single-info__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.ptdmi-tag {
  font-size: 11px;
  background: var(--ptdmi-bg);
  color: var(--ptdmi-muted);
  padding: 4px 10px;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid var(--ptdmi-border);
  transition: background 0.12s;
}

.ptdmi-tag:hover {
  background: var(--ptdmi-blue-light);
  color: var(--ptdmi-blue-text);
}

/* ── Tabs ── */
.ptdmi-single-tabs {
  border: 1px solid var(--ptdmi-border);
  border-radius: var(--ptdmi-radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
}

.ptdmi-tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--ptdmi-border);
  background: var(--ptdmi-bg);
}

.ptdmi-tab-btn {
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ptdmi-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  transition:
    color 0.15s,
    border-color 0.15s;
}

.ptdmi-tab-btn:hover {
  color: var(--ptdmi-navy);
}

.ptdmi-tab-btn.is-active {
  color: var(--ptdmi-navy);
  border-bottom-color: var(--ptdmi-blue);
  background: #fff;
}

.ptdmi-tab-content {
  display: none;
  padding: 32px;
}

.ptdmi-tab-content.is-active {
  display: block;
}

/* Deskripsi prose */
.ptdmi-prose {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ptdmi-text);
  max-width: 720px;
}

.ptdmi-prose p {
  margin-bottom: 16px;
}
.ptdmi-prose ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.ptdmi-prose li {
  margin-bottom: 8px;
}
.ptdmi-prose b,
.ptdmi-prose strong {
  font-weight: 600;
  color: var(--ptdmi-navy);
}

/* Spesifikasi table */
.ptdmi-specs-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.ptdmi-specs-table th {
  background: var(--ptdmi-navy);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
}

.ptdmi-specs-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--ptdmi-border);
  vertical-align: top;
  line-height: 1.6;
}

.ptdmi-specs-table tr:nth-child(even) td {
  background: var(--ptdmi-bg);
}
.ptdmi-specs-table tr:last-child td {
  border-bottom: none;
}
.ptdmi-specs-table td:first-child {
  font-weight: 500;
  color: var(--ptdmi-navy);
  width: 35%;
}

/* ── Related products ── */
.ptdmi-related {
  margin-bottom: 32px;
}

.ptdmi-related__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--ptdmi-navy);
}

/* ============================================================
     RESPONSIVE TWEAKS
     ============================================================ */
@media (max-width: 768px) {
  .ptdmi-archive-hero {
    padding: 32px 24px;
  }
  .ptdmi-archive-hero__title {
    font-size: 22px;
  }
  .ptdmi-single-tabs .ptdmi-tab-content {
    padding: 20px 16px;
  }
  .ptdmi-single-info__title {
    font-size: 20px;
  }
  .ptdmi-cta-primary,
  .ptdmi-cta-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
     SHORTCODE — [ptdmi_produk_grid]
     Home → Produk (semua produk dari REST API)
     ============================================================ */

/* ── Toolbar Tabs ── */
.ptdmi-toolbar__tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ptdmi-tab {
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid var(--ptdmi-border);
  background: transparent;
  color: var(--ptdmi-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  transition: all 0.15s;
}

.ptdmi-tab:hover {
  background: var(--ptdmi-blue-light);
  border-color: var(--ptdmi-blue);
  color: var(--ptdmi-blue-text);
}

.ptdmi-tab.is-active {
  background: var(--ptdmi-blue);
  color: #fff;
  border-color: var(--ptdmi-blue);
}

/* ── Sort Button ── */
.ptdmi-sort {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--ptdmi-navy);
  border: none;
  border-radius: 20px;
  padding: 8px 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  font-family: "Manrope", sans-serif;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.ptdmi-sort:hover {
  background: var(--ptdmi-navy-light);
}

/* ── Search Input ── */
.ptdmi-search {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  height: 38px;
  background: var(--ptdmi-bg);
  border-radius: 8px;
  padding: 0 14px;
  transition: background 0.15s, box-shadow 0.15s;
}

.ptdmi-search:focus-within {
  background: #fff;
  box-shadow: 0 0 0 2px var(--ptdmi-blue);
}

.ptdmi-search__icon {
  flex-shrink: 0;
  margin-right: 8px;
  color: var(--ptdmi-muted);
}

.ptdmi-search__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 13px;
  font-family: "Manrope", sans-serif;
  color: var(--ptdmi-text);
  outline: none;
}

.ptdmi-search__input::placeholder {
  color: var(--ptdmi-muted);
  font-weight: 400;
}

/* ── Shortcode Grid ── */
.ptdmi-shortcode-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .ptdmi-shortcode-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .ptdmi-shortcode-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── Sidebar filter link (non-anchor) ── */
.ptdmi-filter-item[data-val] {
  cursor: pointer;
}

/* ── Sidebar toggle (hidden on desktop, show on mobile) ── */
.ptdmi-sidebar-toggle {
  display: none;
}

/* ── Scrollable filter lists (kategori, brand) ── */
.ptdmi-filter-scroll {
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}

.ptdmi-filter-scroll::-webkit-scrollbar {
  width: 4px;
}

.ptdmi-filter-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.ptdmi-filter-scroll::-webkit-scrollbar-thumb {
  background: var(--ptdmi-border);
  border-radius: 4px;
}

.ptdmi-filter-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--ptdmi-muted);
}

/* ============================================================
     MOBILE RESPONSIVE
     ============================================================ */

/* ── Tablet (≤ 768px) ── */
@media (max-width: 768px) {
  .ptdmi-archive-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ptdmi-archive-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .ptdmi-archive-sidebar .ptdmi-sidebar-card {
    flex: 1 1 calc(50% - 4px);
    min-width: 200px;
  }

  .ptdmi-archive-sidebar .ptdmi-sidebar-cta {
    flex: 1 1 100%;
  }

  .ptdmi-toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .ptdmi-toolbar__tabs {
    order: 1;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .ptdmi-toolbar__tabs::-webkit-scrollbar {
    display: none;
  }

  .ptdmi-tab {
    flex-shrink: 0;
  }

  .ptdmi-search {
    order: 2;
    flex: 1 1 100%;
    height: 42px;
  }

  .ptdmi-toolbar__right {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .ptdmi-sort {
    flex: 1;
    justify-content: center;
  }
}

/* ── Mobile (≤ 600px) ── */
@media (max-width: 600px) {
  .ptdmi-archive-wrap {
    padding: 0 16px 48px;
  }

  /* Sidebar visible as normal flow, no overlay */
  .ptdmi-archive-sidebar {
    position: static !important;
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
  }

  /* Show toggle button on mobile */
  .ptdmi-sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: var(--ptdmi-card-bg);
    border: 1px solid var(--ptdmi-border);
    border-radius: var(--ptdmi-radius-md);
    font-size: 13px;
    font-weight: 600;
    font-family: "Manrope", sans-serif;
    color: var(--ptdmi-text);
    cursor: pointer;
    margin-bottom: 4px;
  }

  .ptdmi-sidebar-toggle svg:last-child {
    transition: transform 0.2s;
  }

  .ptdmi-sidebar-toggle.is-open svg:last-child {
    transform: rotate(180deg);
  }

  /* Collapsible filter cards */
  .ptdmi-sidebar-card {
    padding: 0;
    overflow: hidden;
  }

  .ptdmi-sidebar-card__title {
    margin: 0;
    padding: 12px 14px;
    cursor: pointer;
    user-select: none;
    justify-content: space-between;
    transition: background 0.15s;
  }

  .ptdmi-sidebar-card__title:hover {
    background: var(--ptdmi-bg);
  }

  .ptdmi-sidebar-card__title::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--ptdmi-muted);
    transition: transform 0.2s;
    flex-shrink: 0;
  }

  .ptdmi-sidebar-card.is-open .ptdmi-sidebar-card__title::after {
    transform: rotate(180deg);
  }

  .ptdmi-sidebar-card__body {
    display: none;
    padding: 0 14px 12px;
  }

  .ptdmi-sidebar-card.is-open .ptdmi-sidebar-card__body {
    display: block;
  }

  /* CTA card always open */
  .ptdmi-sidebar-cta {
    padding: 16px 14px;
  }

  /* Toolbar mobile */
  .ptdmi-toolbar {
    gap: 8px;
  }

  .ptdmi-toolbar__tabs {
    gap: 6px;
    padding: 0 0 4px;
  }

  .ptdmi-tab {
    padding: 6px 12px;
    font-size: 12px;
  }

  .ptdmi-search {
    height: 40px;
    border-radius: 10px;
  }

  .ptdmi-search__input {
    font-size: 14px;
  }

  .ptdmi-toolbar__right {
    gap: 8px;
  }

  .ptdmi-toolbar__count {
    font-size: 12px;
  }

  .ptdmi-sort {
    padding: 8px 14px;
    font-size: 12px;
  }

  .ptdmi-sort span {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Grid 1 column */
  .ptdmi-shortcode-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Card mobile */
  .ptdmi-product-card__img-wrap {
    height: 200px;
  }

  .ptdmi-product-card__body {
    padding: 12px 14px 14px;
  }

  .ptdmi-product-card__title {
    font-size: 13px;
  }

  .ptdmi-product-card__sub {
    font-size: 11px;
  }

  .ptdmi-product-card__footer {
    gap: 6px;
  }

  .ptdmi-btn-detail,
  .ptdmi-btn-wa {
    font-size: 11px;
    padding: 6px 10px;
  }

  .ptdmi-btn-wa svg {
    width: 12px;
    height: 12px;
  }

  /* Sidebar CTA mobile */
  .ptdmi-sidebar-cta {
    padding: 16px 14px;
  }

  .ptdmi-sidebar-cta__title {
    font-size: 13px;
  }

  .ptdmi-sidebar-cta__desc {
    font-size: 11px;
  }
}

/* ── Small mobile (≤ 380px) ── */
@media (max-width: 380px) {
  .ptdmi-archive-wrap {
    padding: 0 12px 40px;
  }

  .ptdmi-tab {
    padding: 5px 10px;
    font-size: 11px;
  }

  .ptdmi-sort {
    padding: 7px 12px;
    font-size: 11px;
  }

  .ptdmi-sort span {
    max-width: 80px;
  }

  .ptdmi-product-card__img-wrap {
    height: 170px;
  }
}/* End custom CSS */