:root {
  --hikmat-gold: #B4901D;
  --hikmat-dark: #111111;
  --hikmat-grey: #555555;
  --hikmat-light-grey: #8a8a8a;
  --hikmat-border: #e8e8e8;
}

.hikmat-loop-root { width: 100%; }
.hikmat-loop-count { text-align: left; margin-bottom: 18px; font-size: 13px; color: var(--hikmat-grey); }
.hikmat-loop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 10px; }
@media (max-width: 1024px) {
    .hikmat-loop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 5px; }
}

.hikmat-loop-root.is-loading .hikmat-loop-grid { opacity: .55; pointer-events: none; }
.hikmat-product-card { text-align: center; min-width: 0; }
.hikmat-product-media-wrap { position: relative; overflow: hidden; }
.hikmat-product-media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: #f6f6f6; }
@media (max-width: 1024px) {
    .hikmat-product-media { aspect-ratio: 3 / 5 !important; }
}

.hikmat-product-image { /*position: absolute;*/ inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s ease; }
.hikmat-product-image-second { opacity: 0; position: absolute; }
.hikmat-product-media.has-second-image:hover .hikmat-product-image-main { opacity: 0; }
.hikmat-product-media.has-second-image:hover .hikmat-product-image-second { opacity: 1; }

.hikmat-badge { position: absolute; top: 10px; z-index: 2; font-size: 11px; letter-spacing: .04em; line-height: 1; pointer-events: none; }
.hikmat-badge-new { left: 10px; color: #000; background: transparent; }
.hikmat-badge-save { right: 10px; color: var(--hikmat-gold); background: rgba(180,144,29,.12); padding: 5px 7px; }

.hikmat-product-info { padding-top: 10px; }
.hikmat-product-taxonomies { display: flex; gap: 6px; justify-content: center; align-items: center; flex-wrap: wrap; min-height: 18px; font-size: 12px; }
.hikmat-product-taxonomies a { text-decoration: none; }
.hikmat-product-collection { color: #444; text-transform: uppercase; font-size:10px;}
.hikmat-product-exclusive { color: var(--hikmat-gold); text-transform: uppercase; font-size:10px;}
.hikmat-product-title { margin: 3px 0 0px; font-size: 14px; line-height: 1.35; }
.hikmat-product-title a { color: var(--hikmat-dark); text-decoration: none; }
.hikmat-product-code { font-size: 12px; color: var(--hikmat-grey); margin-bottom: 7px; font-weight:300; }
.hikmat-product-swatches { display: flex; justify-content: center; gap: 6px; min-height: 14px; margin-bottom: 7px; }
.hikmat-swatch { width: 11px; height: 11px; border-radius: 999px; background: var(--hikmat-swatch-color); border: 1px solid rgba(0,0,0,.18); display: inline-block; }
.hikmat-product-price { font-size: 14px; color: #000; font-weight:300; letter-spacing: .04em;}
.hikmat-product-price del { color: #9a9a9a; font-size: 12px; margin-right: 5px; }
.hikmat-product-price ins { color: var(--hikmat-gold); text-decoration: none; font-size: 14px; }

.hikmat-loop-actions { text-align: center; margin-top: 30px; }
.hikmat-load-more, .hikmat-sort-button, .hikmat-filter-button, .hikmat-clear-inline, .hikmat-filter-clear, .hikmat-filter-apply { cursor: pointer; background: #fff; border: 1px solid var(--hikmat-border); padding: 11px 16px; font-size: 13px; }
.hikmat-filter-apply { background: #000; color: #fff; border-color: #000; }
.hikmat-loop-empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--hikmat-grey); }

.hikmat-popup-open { overflow: hidden; }
.hikmat-popup-overlay { position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,.28); opacity: 0; transition: opacity .22s ease; }
.hikmat-popup-overlay.is-open { opacity: 1; }
.hikmat-popup-panel { position: absolute; right: 0; top: 0; height: 100%; width: min(420px, 92vw); background: #fff; transform: translateX(100%); transition: transform .22s ease; display: flex; flex-direction: column; }
.hikmat-popup-overlay.is-open .hikmat-popup-panel { transform: translateX(0); }
.hikmat-popup-header { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--hikmat-border); background: #fff; }
.hikmat-popup-header h3 { margin: 0; font-size: 16px; font-weight: 400; }
.hikmat-popup-close { border: 0; background: transparent; font-size: 26px; cursor: pointer; line-height: 1; }
.hikmat-popup-body { padding: 18px 20px; overflow: auto; flex: 1; }
.hikmat-sort-option { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 12px 0; cursor: pointer; text-align: left; color: black; font-weight:300; }
.hikmat-sort-option:hover { background: transparent; color:black;}
.hikmat-radio-dot { width: 14px; height: 14px; border: 1px solid #000; border-radius: 50%; display: inline-block; position: relative; }
.hikmat-sort-option.is-active .hikmat-radio-dot::after { content: ''; position: absolute; inset: 3px; background: #000; border-radius: 50%; }

.hikmat-accordion { border-bottom: 1px solid var(--hikmat-border); }
.hikmat-accordion-title { width: 100%; border: 0; background: transparent; padding: 16px 0; text-align: left; cursor: pointer; font-size: 14px; color:black; font-weight:300; }
.hikmat-accordion-title:hover { color:black; background: transparent;}
.hikmat-accordion-title:focus { color:black; background: transparent;}

/*
.hikmat-accordion-content { display: none; padding: 4px 0 18px; }
.hikmat-accordion.is-open .hikmat-accordion-content { display: block; }
*/

.hikmat-accordion-content{
    max-height:0;
    overflow:hidden;
    opacity:0;
    padding:0;
    
    transition:
        max-height .35s ease,
        opacity .25s ease,
        padding .35s ease;
}

.hikmat-accordion.is-open .hikmat-accordion-content{
    max-height:1000px;
    opacity:1;
    padding:4px 0 18px;
}

.hikmat-filter-list-4col { column-count: 4; column-gap: 18px; }
.hikmat-filter-choice { display: flex; align-items: center; gap: 7px; break-inside: avoid; margin-bottom: 10px; font-size: 12px; cursor: pointer; }
.hikmat-filter-choice input { position: absolute; opacity: 0; pointer-events: none; }
.hikmat-checkbox-ui { width: 13px; height: 13px; border: 1px solid #000; display: inline-block; flex: 0 0 auto; }
.hikmat-filter-choice input:checked + .hikmat-checkbox-ui { background: #000; box-shadow: inset 0 0 0 2px #fff; }
.hikmat-filter-footer { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--hikmat-border); padding: 14px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hikmat-filter-footer .hikmat-filter-apply:only-child { grid-column: 1 / -1; }

/* Refined baseline based on luxury fashion reference. Safe to override later. */
.hikmat-loop-count { text-align: center; }
.hikmat-product-media { background: #f2f2f2; }
.hikmat-product-image { object-fit: contain; }
.hikmat-badge-new {
  top: 14px;
  left: 12px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: .28em;
  font-size: 12px;
  font-weight: 400;
}
.hikmat-badge-save {
  top: 12px;
  right: 12px;
  font-size: 11px;
  letter-spacing: .06em;
}
.hikmat-product-title { font-size: 15px; }
.hikmat-product-code { color: #777; }
.hikmat-product-swatches { gap: 7px; }
.hikmat-swatch {
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.18);
}
.hikmat-popup-panel { width: min(520px, 94vw); }
.hikmat-popup-close {
  /*
  width: 48px;
  height: 48px;
  */
  border-radius: 999px;
  background: transparent;
  color: grey;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.hikmat-popup-close:hover{
    color: black;
    background: transparent;
}


/* v0.1.2 fixes */
.hikmat-product-media { overflow: hidden; background: #f2f2f2; }
.hikmat-product-image { object-fit: cover; object-position: center top; }
.hikmat-product-taxonomies { min-height: 0 !important; margin-bottom: 3px; }
.hikmat-product-swatches a.hikmat-swatch { text-decoration: none; }
.hikmat-control-icon { display: inline-flex; align-items: center; justify-content: center; margin-right: 0px; font-size: 14px; line-height: 1; }
.hikmat-sort-button, .hikmat-filter-button { display: inline-flex; align-items: center; gap: 4px; }

/* Hover second image only on desktop/pointer devices. */
.hikmat-product-media.has-second-image:hover .hikmat-product-image-main,
.hikmat-product-media.has-second-image:hover .hikmat-product-image-second { opacity: 1; }

.hikmat-popup-overlay { transition: opacity .42s ease; }
.hikmat-popup-panel { transition: transform .42s cubic-bezier(.22,.61,.36,1); }
.hikmat-popup-header h3 { text-transform: none; }
.hikmat-accordion-title { display:flex; align-items:center; justify-content:space-between; gap:16px; }

.hikmat-accordion-chevron::before{
    content:'';
    display:block;
    width:14px;
    height:14px;
    background-image:url('https://www.hikmat.co.id/wp-content/uploads/2026/05/chevron-down.png');
    background-size:contain;
    background-repeat:no-repeat;
    background-position:center;
}

.hikmat-accordion.is-open .hikmat-accordion-chevron::before{
    background-image:url('https://www.hikmat.co.id/wp-content/uploads/2026/05/chevron-up.png');
}

.hikmat-filter-footer .hikmat-filter-clear { display:block !important; }


/* v0.1.3 fixes: preserve theme font, fix product media crop, and keep popup/grid behavior stable. */
.hikmat-loop-root,
.hikmat-loop-root *,
.hikmat-sort-wrap,
.hikmat-sort-wrap *,
.hikmat-filter-wrap,
.hikmat-filter-wrap *,
.hikmat-popup-overlay,
.hikmat-popup-overlay * {
  font-family: inherit !important;
}

.hikmat-product-media {
  aspect-ratio: 4 / 5 !important;
  height: auto !important;
  overflow: hidden !important;
  background: #f2f2f2 !important;
}

@media (max-width: 1024px){
    .hikmat-product-media{
    aspect-ratio: 3 / 5 !important;
    }
}

.hikmat-product-image {
  display: block !important;
  /*position: absolute !important;*/
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.hikmat-product-image-second {
  opacity: 0;
}

/* v0.1.3.1 image quality patch: use browser-native smoothing and avoid theme max-size distortion. */
.hikmat-product-image {
  image-rendering: auto !important;
  -ms-interpolation-mode: bicubic;
  backface-visibility: hidden;
}
.hikmat-product-media img {
  max-width: none !important;
}

[data-hikmat-clear-inline]{
  display:none;
}

.hikmat-swatch[aria-label^="White"]{
    border:1px solid #cfcfcf !important;
}

.hikmat-sort-button, .hikmat-filter-button {
    color: black !important;
    padding: 0px !important;
    border-width: 0px !important;
    font-size: 12px !important;
    font-weight: 300 !important;
}

.hikmat-sort-button:hover, .hikmat-filter-button:hover {
    color: black !important;
    padding: 0px !important;
    border-bottom: solid 1px black !important;
    background-color: transparent !important;
    border-radius: 0px !important;
}

.hikmat-sort-button:focus, .hikmat-filter-button:focus {
    color: black !important;
    padding: 0px !important;
    border-bottom: solid 1px black !important;
    background-color: transparent !important;
    border-radius: 0px !important;
}

.hikmat-control-icon {
    width:16px;
    height:16px;
    object-fit:contain;
    display:block;
}

.hikmat-filter-clear {
    border: solid 0px black !important;
    border-radius: 0px !important;
    color: black !important;
    font-weight: 300 !important;
}

.hikmat-filter-clear:hover {
    border-radius: 0px !important;
    color: black !important;
    background: transparent !important;
    text-decoration: underline !important;
}

.hikmat-filter-apply{
    border-radius:0px !important;
    font-weight: 300 !important;
    background-color: transparent !important;
    color: black !important;
}

.hikmat-filter-apply:hover{
    background-color: black !important;
    color: white !important;
}

.hikmat-load-more{
    color: black !important;
    border-radius: 0px !important;
}

.hikmat-load-more:hover{
    color: white !important;
    border-radius: 0px !important;
    background-color: black !important;
}

.hikmat-load-more:focus{
    color: black !important;
    border-radius: 0px !important;
    background-color: white !important;
}

.hikmat-popup-close{
    padding-right: 0px !important;
    padding-left: 0px !important;
}

@media (max-width: 1024px){
    .hikmat-product-media.has-second-image:hover .hikmat-product-image-main { opacity: 1; }
    .hikmat-product-media.has-second-image:hover .hikmat-product-image-second { opacity: 0; }
    
    .hikmat-badge { top: 5px; font-size: 10px; }
    .hikmat-badge-new { left: 5px; }
    .hikmat-badge-save { right: 5px; padding: 5px 7px; }
    .hikmat-product-title { font-size: 13px; }
    
    .hikmat-product-taxonomies { font-size: 9px; }
    .hikmat-product-collection { font-size:9px;}
    .hikmat-product-exclusive { font-size:9px;}
    .hikmat-product-price del, .hikmat-product-price ins{ display:block; margin-right: 0px; text-align:center;}
    
    .hikmat-load-more{ color: white !important; background-color:black; }
    .hikmat-load-more:hover{ color: white !important; border-radius: 0px !important; background-color: black !important; }
    .hikmat-load-more:focus{ color: white !important; border-radius: 0px !important; background-color: black !important; }
    
    .hikmat-popup-header { padding: 5px 20px; }
    .hikmat-popup-panel { width: 100vw !important; height: 100dvh !important; max-height: none; border-radius: 0; }
    .hikmat-popup-panel { transform: translateY(100%); }
    .hikmat-filter-list-4col { column-count: 3 !important; column-gap: 14px; }
    
    .hikmat-filter-apply{
        background-color: black !important;
        color: white !important;
    }
    
    .hikmat-filter-apply:hover{
        background-color: black !important;
        color: white !important;
    }
}
    
.hikmat-loop-empty + .hikmat-load-more,
.hikmat-loop-grid:has(.hikmat-loop-empty) ~ .hikmat-loop-actions .hikmat-load-more {
  display: none !important;
}
    
.hikmat-load-more[hidden],
.hikmat-loop-actions:has(.hikmat-load-more[hidden]) {
  display: none !important;
}
    
    
    
    
    
