/* =====================================================================
   MURA — replikasi tampilan tema Styler (WordPress) dalam CSS murni
   ===================================================================== */
:root {
  --dark: #252525;
  --text: #7d7d7d;
  --muted: #7a7a7a;
  --line: #e5e5e5;
  --soft: #f7f7f8;
  --accent: #daa174;
  --cream: #f0e6de;
  --wa: #00c853;
  --danger: #c0392b;
  --success: #2e7d32;
  --container: 1330px;
  --header-h: 80px;
  --font: "Jost", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 27px; font-weight: 400;
  color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.has-fixed-header { padding-top: var(--header-h); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--dark); text-decoration: none; transition: color .2s, background .2s, opacity .2s; }
a:hover { color: var(--muted); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font); color: var(--dark); font-weight: 500; margin: 0 0 .5em; }
h1 { font-size: 40px; line-height: 1.2; }
h2 { font-size: 35px; line-height: 42px; }
h3 { font-size: 28px; line-height: 1.3; }
h4 { font-size: 22px; line-height: 1.4; }
h6 { font-size: 16px; line-height: 1.6; }
p { margin: 0 0 1em; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
.ic { display: inline-block; vertical-align: middle; flex: 0 0 auto; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 15px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ------------------------------------------------------------- Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900; height: var(--header-h);
  background: #fff; box-shadow: rgba(0,0,0,.3) -2px 2px 45px -20px; transition: background .3s, box-shadow .3s;
}
.site-header.is-transparent:not(.scrolled) { background: transparent; box-shadow: none; }
.header-inner { display: flex; align-items: center; height: 100%; padding: 0 15px; max-width: var(--container); margin: 0 auto; position: relative; }
.header-left { display: flex; align-items: center; gap: 15px; flex: 1 1 0; }
.header-burger { background: none; border: 0; padding: 0; color: var(--dark); display: flex; }
.header-burger .ic { width: 24px; height: 24px; }
.logo { display: flex; align-items: center; height: 100%; color: var(--dark); }
.logo img { height: 54px; width: auto; max-width: 160px; object-fit: contain; display: block; }
.logo:hover { color: var(--dark); }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 0; flex: 0 1 auto; }
.main-nav a {
  font-size: 14px; font-weight: 500; text-transform: uppercase; color: var(--muted);
  line-height: 14px; padding: 0 10px; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--dark); }
.header-right { display: flex; align-items: center; justify-content: flex-end; gap: 17px; flex: 1 1 0; }
.header-icon { position: relative; display: flex; align-items: center; justify-content: center; color: var(--dark); background: none; border: 0; padding: 0; width: 22px; height: 24px; }
.header-icon .ic { width: 22px; height: 22px; }
.header-icon .ic-search { width: 20px; height: 20px; }
.header-icon .ic-user { width: 24px; height: 24px; }
.header-icon .count {
  position: absolute; top: -12px; left: -10px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: var(--accent); color: #fff; font-size: 10px; line-height: 18px; text-align: center; font-weight: 400;
}

/* -------------------------------------------------------- Side panel */
.overlay { position: fixed; inset: 0; background: rgba(255,255,255,.75); z-index: 950; opacity: 0; visibility: hidden; transition: .35s; }
.overlay.dark { background: rgba(0,0,0,.35); }
body.panel-open .overlay { opacity: 1; visibility: visible; }
.side-panel {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 1000; display: flex; width: 530px; max-width: 100%;
  transform: translateX(-100%); transition: transform .45s cubic-bezier(.77,0,.18,1);
}
.side-panel { visibility: hidden; transition: transform .45s cubic-bezier(.77,0,.18,1), visibility .45s; }
.side-panel.open { transform: none; visibility: visible; }
.side-panel .rail {
  width: 80px; background: #fff; border-right: 1px solid #f0f0f0; display: flex; flex-direction: column; align-items: center; padding: 18px 0 20px; gap: 22px;
}
.side-panel .rail .close { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 10px rgba(0,0,0,.12); display: flex; align-items: center; justify-content: center; color: var(--dark); }
.side-panel .rail .close .ic { width: 12px; height: 12px; }
.side-panel .rail .rail-btn { position: relative; color: var(--dark); background: none; border: 0; padding: 0; display: flex; }
.side-panel .rail .rail-btn.on { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 12px rgba(0,0,0,.1); align-items: center; justify-content: center; }
.side-panel .rail .rail-btn .count { position: absolute; top: -8px; left: -10px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 9px; line-height: 16px; text-align: center; }
.side-panel .rail .rail-logo { margin: auto 0; display: flex; }
.side-panel .rail .rail-logo img { width: 48px; height: auto; display: block; }
.side-panel .rail .socials { display: flex; flex-direction: column; gap: 14px; }
.side-panel .rail .socials a { color: var(--dark); display: flex; }
.side-panel .panel-body { flex: 1; background: #fff; padding: 40px 50px 30px; display: flex; flex-direction: column; overflow-y: auto; }
.panel-search { display: flex; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 25px; gap: 10px; }
.panel-search select { border: 0; background: none; font-size: 13px; color: var(--dark); padding: 0 6px 0 0; border-right: 1px solid var(--line); max-width: 140px; }
.panel-search input { flex: 1; border: 0; outline: 0; font-size: 13px; min-width: 0; }
.panel-search button { background: none; border: 0; padding: 0; color: #aaa; }
.panel-nav { list-style: none; padding: 0; margin: 0; }
.panel-nav a { display: block; font-size: 15px; color: var(--dark); line-height: 36px; }
.panel-copy { margin-top: auto; font-size: 13px; color: var(--muted); }
.panel-copy b { color: var(--dark); font-weight: 500; }

/* Mini cart / generic right drawer */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1000; width: 420px; max-width: 100%; background: #fff;
  transform: translateX(100%); transition: transform .45s cubic-bezier(.77,0,.18,1), visibility .45s; display: flex; flex-direction: column; visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; box-shadow: -10px 0 40px rgba(0,0,0,.08); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 30px; border-bottom: 1px solid var(--line); }
.drawer-head h6 { margin: 0; }
.drawer-head button { background: none; border: 0; color: var(--dark); padding: 0; display: flex; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 30px; }
.drawer-foot { padding: 20px 30px 30px; border-top: 1px solid var(--line); }
.mini-item { display: flex; gap: 15px; padding: 12px 0; border-bottom: 1px solid #f2f2f2; position: relative; }
.mini-item img { width: 70px; height: 85px; object-fit: cover; }
.mini-item .info { flex: 1; font-size: 14px; line-height: 22px; }
.mini-item .info a { font-weight: 500; }
.mini-item .rm { position: absolute; right: 0; top: 12px; background: none; border: 0; color: #999; padding: 0; }
.mini-total { display: flex; justify-content: space-between; color: var(--dark); font-weight: 500; margin-bottom: 15px; }
.drawer-foot .btn + .btn { margin-top: 10px; }

/* Search overlay */
.search-pop { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: #fff; padding: 60px 15px; transform: translateY(-100%); transition: transform .45s cubic-bezier(.77,0,.18,1); box-shadow: 0 10px 40px rgba(0,0,0,.08); }
.search-pop { visibility: hidden; }
.search-pop.open { transform: none; visibility: visible; }
.search-pop form { max-width: 760px; margin: 0 auto; display: flex; border-bottom: 2px solid var(--dark); }
.search-pop input { flex: 1; border: 0; outline: 0; font-size: 26px; padding: 10px 0; color: var(--dark); }
.search-pop button[type=submit] { background: none; border: 0; color: var(--dark); }
.search-pop .x { position: absolute; top: 20px; right: 25px; background: none; border: 0; color: var(--dark); }

/* ------------------------------------------------------------- Buttons & forms */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 30px;
  background: var(--dark); color: #fff; border: 1px solid var(--dark); font-size: 15px; font-weight: 400; line-height: 1;
  border-radius: 0; transition: .2s; white-space: nowrap;
}
.btn:hover { background: #000; color: #fff; }
.btn-block { display: flex; width: 100%; }
.btn-outline { background: #fff; color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: #fff; }
.btn-lg { height: 50px; font-size: 16px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-wa { background: var(--wa); border-color: var(--wa); height: 38px; font-size: 15px; }
.btn-wa:hover { background: #00b24a; border-color: #00b24a; }
.btn-square { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: #f2f2f2; border: 0; color: var(--dark); }
.btn-square.on { color: var(--accent); }
.btn-square.on .ic-heart { fill: var(--accent); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 14px; color: var(--dark); margin-bottom: 6px; font-weight: 500; }
.form-row label .req { color: var(--danger); }
.input, .form-row input[type=text], .form-row input[type=email], .form-row input[type=password], .form-row input[type=tel], .form-row input[type=number], .form-row select, .form-row textarea {
  width: 100%; height: 46px; border: 1px solid var(--line); padding: 0 15px; background: #fff; color: var(--dark); outline: 0; border-radius: 0; transition: border-color .2s;
}
.form-row textarea { height: auto; min-height: 100px; padding: 12px 15px; line-height: 1.6; }
.input:focus, .form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--dark); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.alert { padding: 14px 20px; margin-bottom: 25px; border-left: 3px solid var(--dark); background: var(--soft); color: var(--dark); font-size: 15px; }
.alert-error { border-color: var(--danger); background: #fdf1f0; }
.alert-success { border-color: var(--success); background: #f1f8f1; }
.alert ul { margin: 0; padding-left: 18px; }

/* ------------------------------------------------------------- Hero slider */
.hero { position: relative; height: 100vh; min-height: 560px; max-height: 1000px; overflow: hidden; background: #e9e0d6; }
.hero .slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; display: block; }
.hero .slide.active { opacity: 1; z-index: 1; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-nav { position: absolute; top: 50%; z-index: 5; width: 50px; height: 50px; margin-top: -25px; border-radius: 50%; background: rgba(255,255,255,.15); border: 0; color: #fff; display: flex; align-items: center; justify-content: center; transition: .2s; }
.hero-nav:hover { background: rgba(255,255,255,.4); }
.hero-nav.prev { left: 10px; }
.hero-nav.next { right: 10px; }
.dots { display: flex; gap: 8px; justify-content: center; }
.dots button { width: 13px; height: 13px; border-radius: 50%; border: 0; padding: 0; background: rgba(0,0,0,.08); position: relative; }
.dots button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: rgba(0,0,0,.25); }
.dots button.active { background: transparent; box-shadow: inset 0 0 0 1px var(--dark); }
.dots button.active::after { background: var(--dark); }
.hero .dots { position: absolute; bottom: 33px; left: 0; right: 0; z-index: 5; }
.hero-mobile { display: none; }

/* ------------------------------------------------------------- Home sections */
.section { padding: 65px 0; }
.section-border { border-top: 1px solid var(--line); }
.section-soft { background: var(--soft); }
.section-cats { padding-bottom: 80px; }
.section-featured { padding-top: 16px; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { margin: 0; }
.section-title p { margin: 10px 0 0; font-size: 15px; line-height: 1.5; }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; align-items: start; }
.trend-box { background: var(--dark); padding: 60px 40px; min-height: 412px; }
.trend-box .lbl { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--cream); line-height: 10px; margin-bottom: 12px; display: block; }
.trend-box h3 { color: #fff; font-size: 28px; line-height: 36.4px; margin: 0 0 25px; }
.trend-box p { color: #a7a7a7; margin: 0; }
.cat-card { position: relative; display: block; overflow: hidden; aspect-ratio: 295 / 354; background: #ddd; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.35), rgba(0,0,0,0) 45%); }
.cat-card .cat-info { position: absolute; left: 30px; bottom: 26px; z-index: 2; color: #fff; }
.cat-card .cat-info .lbl { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; line-height: 10px; display: block; margin-bottom: 12px; color: #fff; }
.cat-card .cat-info h6 { color: #fff; font-size: 18px; margin: 0 0 4px; line-height: 1.4; }
.cat-card .cat-info span.n { font-size: 15px; color: #fff; }

/* Carousel generik */
.carousel { position: relative; }
.carousel-track { display: flex; gap: var(--gap, 10px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { flex: 0 0 calc((100% - (var(--per, 4) - 1) * var(--gap, 10px)) / var(--per, 4)); scroll-snap-align: start; min-width: 0; }
.carousel .dots { margin-top: 45px; }

/* ------------------------------------------------------------- Product card */
.product-card { position: relative; }
.product-card .thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; background: #f3f3f3; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform .8s; }
.product-card .thumb img.alt { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .thumb img.alt { opacity: 1; }
.product-card .actions { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateX(10px); transition: .3s; z-index: 2; }
.product-card:hover .actions { opacity: 1; transform: none; }
.product-card .actions button { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 0; display: flex; align-items: center; justify-content: center; color: var(--dark); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.product-card .actions button.on { color: var(--accent); }
.product-card .actions button.on .ic-heart { fill: var(--accent); }
.product-card .quick-add { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 40px; background: rgba(37,37,37,.92); color: #fff; border: 0; font-size: 14px; transform: translateY(100%); transition: .3s; }
.product-card:hover .quick-add { transform: none; }
.product-card .badge-sale, .product-card .badge-out { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--dark); color: #fff; font-size: 11px; line-height: 1; padding: 6px 9px; text-transform: uppercase; letter-spacing: 1px; }
.product-card .badge-out { background: #999; }
.product-card .meta { padding-top: 18px; }
.price { font-size: 16px; color: var(--muted); text-transform: uppercase; line-height: 28.8px; }
.price del { color: #b5b5b5; margin-right: 6px; font-size: .9em; }
.price ins { text-decoration: none; }
.product-card .name { display: block; font-size: 17px; font-weight: 500; color: var(--dark); line-height: 1.4; margin-top: 6px; }
.product-card .name:hover { color: var(--muted); }

/* ------------------------------------------------------------- Blog */
.post-card { background: #fff; height: 100%; }
.post-card .thumb { display: block; overflow: hidden; aspect-ratio: 1 / 1; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .body { padding: 20px 20px 22px; }
.post-meta { font-size: 12px; text-transform: uppercase; font-weight: 500; color: var(--muted); line-height: 1.6; display: flex; gap: 20px; margin-bottom: 10px; }
.post-card h4 { margin: 0 0 12px; font-size: 22px; line-height: 30px; }
.post-card p { font-size: 15px; line-height: 22.5px; margin: 0; }

/* ------------------------------------------------------------- Footer */
.site-footer { border-top: 1px solid var(--line); padding: 100px 0 0; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 100px; }
.footer-cols h6 { font-size: 16px; line-height: 25.6px; margin: 0 0 14px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li a { font-size: 15px; line-height: 31px; color: var(--muted); }
.footer-cols li a:hover { color: var(--dark); }
.newsletter input { width: 100%; height: 52px; border: 1px solid var(--line); text-align: center; outline: 0; font-size: 14px; color: var(--dark); }
.newsletter input::placeholder { color: var(--muted); }
.newsletter button { width: 100%; height: 37px; margin-top: 12px; background: var(--dark); color: #fff; border: 0; font-size: 14px; }
.newsletter p { margin: 6px 0 0; font-size: 15px; line-height: 27px; }
.copyright { background: var(--dark); color: #fff; text-align: center; font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; line-height: 21.6px; padding: 15px; }
.to-top { position: fixed; right: 30px; bottom: 30px; z-index: 800; width: 40px; height: 40px; border-radius: 3px; background: var(--dark); color: #fff; border: 0; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: .3s; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top .ic { width: 14px; height: 14px; }
body.has-sticky-cart .to-top { bottom: 113px; }

/* ------------------------------------------------------------- Page hero (shop, account, dll) */
.page-hero { background: var(--soft); }
.page-hero .container { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 20px; }
.page-hero h1 { font-size: 35px; line-height: 42px; margin: 0; }
.breadcrumb { font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--dark); }
.breadcrumb .sep { color: #b9b9b9; }
.page-hero-big { background: var(--soft); text-align: center; padding: 0 15px; min-height: 450px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.page-hero-big h1 { font-size: 35px; line-height: 42px; margin: 0 0 18px; }
.page-hero-big .cats { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.page-hero-big .cats a { font-size: 15px; color: var(--dark); }
.page-content { padding: 80px 0 100px; }

/* Toolbar shop */
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 50px; flex-wrap: wrap; }
.shop-toolbar .right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.shop-toolbar .tb-btn { background: none; border: 0; padding: 0; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; font-size: 15px; }
.shop-toolbar .tb-btn .ic { color: var(--dark); width: 22px; height: 22px; }
.shop-toolbar select { border: 0; background: none; color: var(--muted); font-size: 15px; padding-right: 30px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23555'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; min-width: 170px; outline: 0; }
.col-switch { display: flex; gap: 10px; align-items: center; }
.col-switch a { display: flex; gap: 2px; height: 20px; opacity: .45; }
.col-switch a.on, .col-switch a:hover { opacity: 1; }
.col-switch a span { width: 4px; background: var(--dark); display: block; height: 20px; }
.col-switch a.list { flex-direction: column; width: 20px; gap: 2px; }
.col-switch a.list span { width: 20px; height: 4px; }
.col-switch a.c2 span { width: 8px; } .col-switch a.c3 span { width: 5px; } .col-switch a.c4 span { width: 4px; } .col-switch a.c5 span { width: 3px; }
.per-page { display: flex; gap: 14px; color: var(--muted); }
.per-page a { color: var(--muted); }
.per-page a.on { color: var(--dark); font-weight: 500; }
.shop-filter { background: var(--soft); padding: 25px 30px; margin: -25px 0 40px; display: none; }
.shop-filter.open { display: block; }
.shop-filter form { display: flex; gap: 15px; align-items: flex-end; flex-wrap: wrap; }
.shop-filter .form-row { margin: 0; min-width: 160px; }
.products-grid { display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); gap: 50px 24px; }
.products-grid.list-view { grid-template-columns: 1fr; }
.products-grid.list-view .product-card { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: center; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 60px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--dark); }
.pagination .on { background: var(--dark); color: #fff; border-color: var(--dark); }
.empty-state { text-align: center; padding: 60px 0; }
.empty-state h4 { margin-bottom: 15px; }

/* ------------------------------------------------------------- Single product */
.product-top { padding: 40px 0 0; }
.product-crumbs { display: flex; justify-content: space-between; align-items: center; margin-bottom: 23px; }
.product-crumbs .breadcrumb { font-size: 15px; }
.product-crumbs .pn { display: flex; gap: 10px; align-items: center; color: var(--dark); }
.product-crumbs .pn a { display: flex; }
.product-crumbs .pn .ic { width: 18px; height: 18px; }
.product-layout { display: grid; grid-template-columns: 623fr 634fr; gap: 35px; align-items: start; }
.gallery-main { position: relative; overflow: hidden; background: #f3f3f3; aspect-ratio: 980 / 1304; }
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; cursor: zoom-in; }
.gallery-main img.active { opacity: 1; }
.gallery-main .g-nav { position: absolute; top: 50%; z-index: 3; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: rgba(255,255,255,.8); border: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: .3s; }
.gallery-main:hover .g-nav { opacity: 1; }
.gallery-main .g-nav.prev { left: 15px; } .gallery-main .g-nav.next { right: 15px; }
.gallery-thumbs { position: relative; display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumbs button { flex: 0 0 calc((100% - 70px) / 8); padding: 0; border: 1px solid transparent; background: none; aspect-ratio: 69 / 92; overflow: hidden; opacity: .75; }
.gallery-thumbs button.active { border-color: var(--dark); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); padding-right: 12px; }
.summary h1 { font-size: 40px; line-height: 48px; margin: 0 0 18px; }
.summary .price { font-size: 20px; line-height: 1.6; margin-bottom: 18px; }
.summary .short { font-size: 15px; line-height: 27px; margin-bottom: 22px; }
.size-picker { margin-bottom: 20px; }
.size-picker .lbl { font-size: 15px; color: var(--dark); font-weight: 500; margin-bottom: 8px; display: block; }
.size-picker .lbl span { color: var(--muted); font-weight: 400; }
.size-options { display: flex; gap: 8px; flex-wrap: wrap; }
.size-options label { cursor: pointer; }
.size-options input { position: absolute; opacity: 0; pointer-events: none; }
.size-options span { min-width: 42px; height: 38px; padding: 0 12px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--dark); font-size: 14px; transition: .2s; }
.size-options input:checked + span { border-color: var(--dark); background: var(--dark); color: #fff; }
.cart-row { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.qty { display: inline-flex; align-items: center; height: 38px; width: 95px; justify-content: space-between; }
.qty button { width: 26px; height: 38px; background: none; border: 0; color: var(--dark); font-size: 16px; padding: 0; }
.qty input { width: 36px; text-align: center; border: 0; outline: 0; font-size: 14px; color: var(--muted); -moz-appearance: textfield; background: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-row .btn { width: 160px; padding: 0 10px; }
.stock-note { font-size: 14px; margin: -8px 0 16px; color: var(--success); }
.stock-note.out { color: var(--danger); }
.accordion { border: 1px solid var(--line); margin: 20px 0 25px; }
.accordion details + details { border-top: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; height: 51px; font-size: 15px; font-weight: 500; color: var(--dark); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .ic { transition: transform .3s; width: 18px; height: 18px; }
.accordion details[open] summary .ic { transform: rotate(180deg); }
.accordion .acc-body { padding: 0 20px 20px; font-size: 15px; line-height: 1.7; }
.accordion table, .content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.accordion th, .accordion td, .content th, .content td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.accordion th, .content th { color: var(--dark); font-weight: 500; background: #fafafa; }
.extra-list { list-style: none; padding: 0; margin: 0 0 25px; }
.extra-list li { display: flex; align-items: center; gap: 10px; min-height: 30px; color: var(--muted); }
.extra-list li b { color: var(--dark); font-weight: 500; }
.extra-list li button { background: none; border: 0; padding: 0; color: var(--dark); font-weight: 500; }
.extra-list .ic { color: var(--dark); width: 21px; height: 21px; }
.product-meta { color: var(--dark); font-weight: 500; margin-bottom: 30px; }
.product-meta a { color: var(--muted); font-weight: 400; }
.share { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--dark); font-weight: 500; }
.share a { width: 29px; height: 29px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.share a svg { width: 13px; height: 13px; fill: #fff; }
.related { padding: 80px 0 100px; }
.related h2 { font-size: 24px; line-height: 1.3; margin-bottom: 30px; }
.related .products-grid { --cols: 5; }
.sticky-cart { position: fixed; left: 0; right: 0; bottom: 0; z-index: 850; background: #fff; box-shadow: 0 -5px 30px rgba(0,0,0,.06); transform: translateY(110%); transition: transform .35s; }
.sticky-cart.show { transform: none; }
.sticky-cart .container { display: flex; align-items: center; gap: 20px; height: 100px; }
.sticky-cart img { width: 60px; height: 80px; object-fit: cover; }
.sticky-cart .t { flex: 1; min-width: 0; }
.sticky-cart .t div:first-child { color: var(--dark); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cart .price { font-size: 16px; color: var(--dark); }
.sticky-cart .btn { width: 160px; }
.modal { position: fixed; inset: 0; z-index: 1100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.45); }
.modal.open { display: flex; }
.modal-box { background: #fff; max-width: 640px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 40px; position: relative; }
.modal-box .x { position: absolute; top: 15px; right: 15px; background: none; border: 0; color: var(--dark); }
.lightbox img { max-height: 90vh; width: auto; margin: 0 auto; }
.lightbox .modal-box { background: transparent; padding: 0; max-width: 900px; text-align: center; }
.lightbox .x { color: #fff; top: -35px; right: 0; }

/* ------------------------------------------------------------- Cart & checkout */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-weight: 500; color: var(--dark); font-size: 15px; border-bottom: 1px solid var(--line); padding: 0 10px 15px; }
.cart-table td { padding: 20px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table .p { display: flex; align-items: center; gap: 20px; }
.cart-table .p img { width: 80px; height: 100px; object-fit: cover; }
.cart-table .p a { font-weight: 500; }
.cart-table .p small { display: block; color: var(--muted); font-size: 14px; }
.cart-table .qty { border: 1px solid var(--line); padding: 0 6px; width: 110px; }
.cart-table .rm { background: none; border: 0; color: #999; padding: 4px; }
.cart-table .rm:hover { color: var(--danger); }
.cart-layout { display: grid; grid-template-columns: 1fr 400px; gap: 50px; align-items: start; }
.totals-box { background: var(--soft); padding: 35px; }
.totals-box h4 { margin-bottom: 20px; }
.totals-row { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid #e9e9e9; color: var(--dark); }
.totals-row span:first-child { color: var(--muted); }
.totals-row.total { font-size: 18px; font-weight: 500; border-bottom: 0; }
.totals-box .btn { margin-top: 20px; }
.cart-actions { display: flex; justify-content: space-between; gap: 15px; margin-top: 25px; flex-wrap: wrap; }

.checkout-layout { display: grid; grid-template-columns: 1fr 440px; gap: 50px; align-items: start; }
.checkout-layout h4 { margin-bottom: 25px; }
.area-search { position: relative; }
.area-results { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: #fff; border: 1px solid var(--line); border-top: 0; max-height: 280px; overflow-y: auto; display: none; box-shadow: 0 10px 25px rgba(0,0,0,.06); }
.area-results.open { display: block; }
.area-results button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 10px 15px; font-size: 14px; line-height: 1.5; color: var(--dark); border-bottom: 1px solid #f3f3f3; }
.area-results button:hover, .area-results button.hl { background: var(--soft); }
.area-results .msg { padding: 12px 15px; font-size: 14px; }
.area-picked { font-size: 14px; color: var(--success); margin-top: 6px; line-height: 1.5; }
.rates { display: flex; flex-direction: column; gap: 8px; }
.rates .msg { font-size: 14px; color: var(--muted); padding: 14px; border: 1px dashed var(--line); }
.rate { display: flex; align-items: center; gap: 12px; padding: 12px 15px; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s; }
.rate:hover { border-color: #bbb; }
.rate input { accent-color: var(--dark); }
.rate.on { border-color: var(--dark); }
.rate .nm { flex: 1; color: var(--dark); font-size: 15px; line-height: 1.4; }
.rate .nm small { display: block; color: var(--muted); font-size: 13px; }
.rate .cost { color: var(--dark); font-weight: 500; }
.order-review .ri { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #e9e9e9; }
.order-review .ri img { width: 54px; height: 66px; object-fit: cover; }
.order-review .ri .n { flex: 1; font-size: 14px; line-height: 1.5; color: var(--dark); }
.order-review .ri .n small { display: block; color: var(--muted); }
.order-review .ri .s { color: var(--dark); font-size: 14px; }
.pay-note { font-size: 13px; line-height: 1.6; margin-top: 15px; display: flex; gap: 8px; }

.order-box { max-width: 860px; margin: 0 auto; }
.order-head { text-align: center; margin-bottom: 40px; }
.order-head .st { display: inline-block; padding: 6px 16px; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; background: var(--soft); color: var(--dark); margin-bottom: 15px; }
.order-head .st.paid, .order-head .st.processing, .order-head .st.shipped, .order-head .st.completed { background: #e8f5e9; color: var(--success); }
.order-head .st.cancelled, .order-head .st.expired { background: #fdecea; color: var(--danger); }
.order-overview { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px dashed #ccc; margin-bottom: 40px; }
.order-overview div { padding: 18px 20px; font-size: 13px; text-transform: uppercase; line-height: 1.6; }
.order-overview div + div { border-left: 1px dashed #ccc; }
.order-overview b { display: block; text-transform: none; font-size: 15px; color: var(--dark); font-weight: 500; }
.order-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { padding: 0 0 18px 20px; position: relative; font-size: 14px; line-height: 1.6; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--dark); }
.timeline li small { display: block; color: var(--muted); }
.order-progress { margin: 0 0 40px; padding: 28px 30px; background: var(--soft); }
.order-progress h4 { margin-bottom: 22px; }
.order-progress-list { list-style: none; margin: 0; padding: 0; }
.order-progress-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; position: relative; padding-bottom: 22px; }
.order-progress-list li:last-child { padding-bottom: 0; }
.order-progress-list li:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 26px; bottom: 0; width: 2px; background: #cfd8d0; }
.progress-dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 1; background: var(--success); color: #fff; font-size: 13px; }
.order-progress-list .current .progress-dot { border: 7px solid #c8e6c9; background: var(--success); }
.order-progress-list b { display: block; color: var(--dark); font-weight: 500; line-height: 1.4; }
.order-progress-list p { margin: 2px 0 0; font-size: 14px; line-height: 1.5; }
.order-progress-list small { color: var(--muted); font-size: 12px; }
.order-shipping-status { display: block; margin-top: 4px; line-height: 1.4; color: var(--muted); }

/* Account */
.account-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1000px; margin: 0 auto; }
.account-forms h3 { font-size: 26px; margin-bottom: 25px; }
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 50px; }
.account-nav { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.account-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.account-nav a.on, .account-nav a:hover { color: var(--dark); }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table th { text-align: left; font-weight: 500; color: var(--dark); padding: 12px 10px; border-bottom: 1px solid var(--line); }
.data-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); }
.tag { display: inline-block; font-size: 12px; padding: 3px 10px; background: var(--soft); color: var(--dark); white-space: nowrap; line-height: 1.6; }
.tag.paid, .tag.processing, .tag.shipped, .tag.completed { background: #e8f5e9; color: var(--success); }
.tag.cancelled, .tag.expired, .tag.failed { background: #fdecea; color: var(--danger); }

/* Konten (artikel/halaman) */
.content { color: var(--text); font-size: 16px; line-height: 1.8; }
.content h2, .content h3 { margin-top: 1.4em; }
.content img { margin: 20px 0; }
.narrow { max-width: 860px; margin: 0 auto; }
.post-hero img { width: 100%; max-height: 520px; object-fit: cover; margin-bottom: 35px; }
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; }
.contact-info p { margin-bottom: 8px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 1200; transform: translate(-50%, 200px); visibility: hidden; background: var(--dark); color: #fff; padding: 14px 24px; font-size: 14px; max-width: calc(100% - 30px); transition: transform .35s; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast.err { background: var(--danger); }
.toast a { color: #fff; text-decoration: underline; margin-left: 10px; }

/* Compare */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { border: 1px solid var(--line); padding: 14px; vertical-align: top; text-align: left; }
.compare-table th { width: 160px; color: var(--dark); font-weight: 500; background: #fafafa; }
.compare-table img { width: 160px; aspect-ratio: 1; object-fit: cover; margin-bottom: 10px; }

/* ------------------------------------------------------------- Responsive */
@media (max-width: 1199px) {
  .main-nav a { padding: 0 7px; font-size: 13px; }
  .products-grid { --cols: 4 !important; }
}
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .products-grid { --cols: 3 !important; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-track > * { --per: 3; }
  .product-layout, .cart-layout, .checkout-layout, .contact-grid { grid-template-columns: 1fr; }
  .summary { position: static; padding: 0; }
  .header-right .hide-md { display: none; }
}
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  h2, .page-hero h1, .page-hero-big h1 { font-size: 28px; line-height: 1.25; }
  .summary h1 { font-size: 30px; line-height: 1.25; }
  .section { padding: 50px 0; }
  .logo img { height: 44px; max-width: 120px; }
  .hero-all { height: 70vh; min-height: 420px; }
  .hero-all .slide img { object-position: 30% center; }
  /* Slider mobile: gambar potret 1080x1440 tampil utuh di bawah header */
  .hero-desktop { display: none; }
  .hero-mobile { display: block; height: auto; min-height: 0; max-height: none; aspect-ratio: 3 / 4; margin-top: var(--header-h); }
  body:has(.hero-mobile) .site-header.is-transparent:not(.scrolled) { background: #fff; box-shadow: rgba(0,0,0,.3) -2px 2px 45px -20px; }
  .hero-mobile .dots { bottom: 18px; }
  .hero-mobile .hero-nav { width: 40px; height: 40px; margin-top: -20px; }
  .header-right { gap: 18px; }
  .header-right .hide-sm { display: none; }
  .cat-grid, .footer-cols, .account-forms, .account-layout, .order-cols, .grid-2 { grid-template-columns: 1fr; }
  .trend-box { min-height: 0; padding: 40px 30px; }
  .products-grid { --cols: 2 !important; gap: 35px 15px; }
  .products-grid.list-view .product-card { grid-template-columns: 120px 1fr; gap: 15px; }
  .blog-grid { grid-template-columns: 1fr; }
  .carousel-track > * { --per: 2; }
  .post-carousel .carousel-track > * { --per: 1.15; }
  .product-card .name { font-size: 15px; }
  .price { font-size: 15px; }
  .page-hero .container { flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 20px; padding-bottom: 20px; gap: 6px; }
  .page-hero-big { min-height: 260px; }
  .shop-toolbar { flex-direction: column; align-items: flex-start; }
  .shop-toolbar .right { gap: 14px; }
  .col-switch, .per-page { display: none; }
  .gallery-thumbs button { flex-basis: calc((100% - 40px) / 5); }
  .cart-row .btn { flex: 1; width: auto; }
  .sticky-cart .container { height: 76px; gap: 10px; }
  .sticky-cart img, .sticky-cart .qty, .sticky-cart .btn-square { display: none; }
  .sticky-cart .btn { width: auto; padding: 0 18px; }
  body.has-sticky-cart .to-top { bottom: 90px; }
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); padding: 15px 0; }
  .cart-table td { border: 0; padding: 5px 0; }
  .cart-table td.c-price { display: none; }
  .order-overview { grid-template-columns: 1fr 1fr; }
  .order-overview div:nth-child(3) { border-left: 0; }
  .order-overview div:nth-child(n+3) { border-top: 1px dashed #ccc; }
  .side-panel { width: 100%; }
  .side-panel .panel-body { padding: 30px 25px; }
  .modal-box { padding: 30px 20px; }
  .data-table { font-size: 14px; }
  .to-top { right: 15px; bottom: 15px; }
  .table-scroll { overflow-x: auto; }
}
