/* ============ BIJUTERIA FILIPE — PAGINĂ MAGAZIN ============ */
body, .fm-shop-sidebar, .fm-shop-sidebar *, .fm-shop-toolbar, .fm-shop-toolbar *,
.fm-shop-header, .fm-shop-header *, .fm-shop-grid, .fm-shop-grid *,
.fm-pagination, .fm-pagination *, .fm-breadcrumb, .fm-breadcrumb *,
.fm-mobile-cat-toggle, .fm-mobile-subcat-list, .fm-mobile-subcat-list *,
.fm-price-filter, .fm-price-filter * { font-family: "Jost", sans-serif; }

.fm-breadcrumb { padding: 14px 0; font-size: 13px; color: #888; border-bottom: 1px solid #efefef; }
.fm-breadcrumb a { color: #555; text-decoration: none; }
.fm-breadcrumb a:hover { color: #1c1713; }

.fm-shop-header { padding: 40px 0 30px; border-bottom: 1px solid #efefef; margin-bottom: 30px; text-align: center; }
.fm-shop-header h1 { font-size: 32px; font-weight: 300; margin-bottom: 8px; color: #1c1713; letter-spacing: 0.02em; }
.fm-shop-header .count { font-size: 13px; color: #888; letter-spacing: 0.14em; text-transform: uppercase; }

/* ============ Sidebar — accordion style ============ */
.fm-shop-sidebar { font-family: "Jost", sans-serif; }
.fm-shop-sidebar .fm-cat-group { border-bottom: 1px solid #efefef; }
.fm-shop-sidebar .fm-cat-group:first-child { border-top: 1px solid #efefef; }

.fm-acc-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 0; background: none; border: none; text-align: left; cursor: pointer; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #1c1713; transition: color .18s; font-family: "Jost", sans-serif; }
.fm-acc-toggle:hover { color: #4a4239; }
.fm-acc-toggle .fm-acc-icon { width: 10px; height: 10px; position: relative; flex-shrink: 0; }
.fm-acc-toggle .fm-acc-icon::before,
.fm-acc-toggle .fm-acc-icon::after { content: ''; position: absolute; background: #1c1713; transition: transform .25s; }
.fm-acc-toggle .fm-acc-icon::before { top: 50%; left: 0; width: 100%; height: 1px; margin-top: -0.5px; }
.fm-acc-toggle .fm-acc-icon::after { left: 50%; top: 0; width: 1px; height: 100%; margin-left: -0.5px; }
.fm-acc-toggle.open .fm-acc-icon::after { transform: scaleY(0); }

.fm-acc-body { display: none; padding: 0 0 14px 2px; }
.fm-acc-body.open { display: block; }

/* Sub-group (Damă/Bărbat) — nested accordion */
.fm-sub-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 9px 0; background: none; border: none; text-align: left; cursor: pointer; font-size: 13px; font-weight: 400; color: #444; letter-spacing: 0.02em; transition: color .18s; font-family: "Jost", sans-serif; }
.fm-sub-toggle:hover { color: #1c1713; }
.fm-sub-toggle.open { color: #1c1713; font-weight: 500; }
.fm-sub-toggle .fm-sub-icon { font-size: 10px; color: #999; transition: transform .2s; }
.fm-sub-toggle.open .fm-sub-icon { transform: rotate(90deg); color: #1c1713; }

.fm-sub-body { display: none; padding: 2px 0 6px 14px; border-left: 1px solid #efefef; margin-left: 3px; }
.fm-sub-body.open { display: block; }

.fm-shop-sidebar ul { list-style: none; padding: 0; margin: 0; }
.fm-shop-sidebar ul li { margin-bottom: 2px; }
.fm-shop-sidebar ul li a { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; color: #666; text-decoration: none; font-size: 13.5px; transition: color .18s; font-family: "Jost", sans-serif; }
.fm-shop-sidebar ul li a:hover { color: #1c1713; }
.fm-shop-sidebar ul li a .cnt { color: #b0b0b0; font-size: 11.5px; }
.fm-shop-sidebar ul li.active a { color: #1c1713; font-weight: 500; }
.fm-shop-sidebar ul li.active a .cnt { color: #1c1713; }

/* ============ Price filter ============ */
.fm-price-filter { padding: 18px 0 20px; border-top: 1px solid #efefef; margin-top: 4px; }
.fm-price-filter h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #1c1713; margin: 0 0 16px; }
.fm-price-range-wrap { position: relative; height: 32px; margin-bottom: 14px; }
.fm-price-track { position: absolute; top: 14px; left: 0; right: 0; height: 3px; background: #eee; border-radius: 2px; }
.fm-price-track-fill { position: absolute; top: 0; height: 100%; background: #1c1713; border-radius: 2px; }
.fm-price-range-wrap input[type="range"] { position: absolute; top: 8px; left: 0; width: 100%; height: 14px; background: transparent; -webkit-appearance: none; appearance: none; pointer-events: none; }
.fm-price-range-wrap input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; background: #1c1713; border-radius: 50%; cursor: pointer; pointer-events: auto; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.25); }
.fm-price-range-wrap input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; background: #1c1713; border-radius: 50%; cursor: pointer; pointer-events: auto; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.25); }
.fm-price-inputs { display: flex; gap: 8px; margin-bottom: 12px; align-items: flex-end; }
.fm-price-inputs .fm-price-input { flex: 1; }
.fm-price-inputs .fm-price-input label { display: block; font-size: 10px; color: #999; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.fm-price-inputs input[type="number"] { width: 100%; padding: 7px 10px; border: 1px solid #ddd; font-size: 13px; color: #1c1713; font-family: "Jost", sans-serif; background: #fff; }
.fm-price-inputs input[type="number"]:focus { outline: none; border-color: #1c1713; }
.fm-price-inputs input[type="number"]::-webkit-outer-spin-button,
.fm-price-inputs input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fm-price-inputs input[type="number"] { -moz-appearance: textfield; }
.fm-price-apply { display: flex; gap: 8px; }
.fm-price-apply button { flex: 1; padding: 9px 10px; border: none; cursor: pointer; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-family: "Jost", sans-serif; font-weight: 500; transition: all .18s; }
.fm-price-apply .fm-btn-apply { background: #1c1713; color: #fff; }
.fm-price-apply .fm-btn-apply:hover { background: #4a4239; }
.fm-price-apply .fm-btn-reset { background: #fff; color: #1c1713; border: 1px solid #ddd; }
.fm-price-apply .fm-btn-reset:hover { background: #f7f7f5; }

/* ============ Toolbar ============ */
.fm-shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; font-family: "Jost", sans-serif; }
.fm-shop-toolbar .fm-count-label { font-size: 13px; color: #666; }
.fm-shop-toolbar select { border: 1px solid #ddd; padding: 9px 14px; font-size: 13px; background: #fff; color: #1c1713; cursor: pointer; min-width: 200px; font-family: "Jost", sans-serif; }
.fm-shop-toolbar select:focus { outline: none; border-color: #1c1713; }

/* ============ Product grid ============ */
.fm-shop-grid .productColumn { background: #fff; text-align: center; position: relative; overflow: hidden; display: block; text-decoration: none; color: inherit; margin-bottom: 32px; font-family: "Jost", sans-serif; }
.fm-shop-grid .productColumn .imgHolder { background: #fff; position: relative; overflow: hidden; margin-bottom: 14px; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.fm-shop-grid .productColumn .imgHolder img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .4s ease; }
.fm-shop-grid .productColumn:hover .imgHolder img { transform: scale(1.05); }
.fm-shop-grid .productColumn .pcTitle { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #888; display: block; margin-bottom: 6px; font-weight: 500; }
.fm-shop-grid .productColumn .pcHeading { font-size: 15px; font-weight: 300; margin-bottom: 6px; color: #1c1713; line-height: 1.3; min-height: 40px; }
.fm-shop-grid .productColumn .pcHeading a { color: #1c1713; text-decoration: none; }
.fm-shop-grid .productColumn .pcHeading a:hover { color: #4a4239; }
.fm-shop-grid .productColumn .pcprice { font-size: 16px; font-weight: 500; color: #1c1713; margin-bottom: 0; }
.fm-shop-grid .productColumn .ar-badge { position: absolute; top: 10px; left: 10px; background: #1c1713; color: #fff; font-size: 9px; letter-spacing: 0.14em; padding: 4px 8px; text-transform: uppercase; z-index: 2; opacity: 0; transition: opacity .2s; font-family: "Jost", sans-serif; }
.fm-shop-grid .productColumn:hover .ar-badge { opacity: 1; }

/* ============ Paginare ============ */
.fm-pagination { display: flex; justify-content: center; gap: 6px; margin: 40px 0 20px; flex-wrap: wrap; font-family: "Jost", sans-serif; }
.fm-pagination button { background: #fff; border: 1px solid #ddd; padding: 9px 14px; font-size: 13px; color: #1c1713; cursor: pointer; min-width: 40px; transition: all .18s; font-family: "Jost", sans-serif; }
.fm-pagination button:hover:not([disabled]) { background: #1c1713; color: #fff; border-color: #1c1713; }
.fm-pagination button.active { background: #1c1713; color: #fff; border-color: #1c1713; }
.fm-pagination button[disabled] { color: #ccc; cursor: not-allowed; }

/* Empty state */
.fm-empty { text-align: center; padding: 60px 20px; color: #888; font-family: "Jost", sans-serif; }
.fm-empty i { font-size: 42px; margin-bottom: 16px; color: #ddd; }
.fm-empty h3 { font-size: 20px; font-weight: 300; color: #1c1713; margin-bottom: 8px; }
.fm-empty a { color: #1c1713; text-decoration: underline; }

/* Mobile filter toggle */
.fm-mobile-filter-btn { display: none; background: #1c1713; color: #fff; border: none; padding: 12px 18px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; margin-bottom: 18px; width: 100%; cursor: pointer; font-family: "Jost", sans-serif; }
.fm-mobile-filter-btn:hover { background: #4a4239; color: #fff; }

@media (max-width: 991.98px) {
    .fm-shop-sidebar { display: none; }
    .fm-mobile-filter-btn { display: block; }
    .fm-shop-sidebar.fm-sidebar-open { display: block; margin-bottom: 24px; padding: 20px; border: 1px solid #efefef; background: #fafafa; }
}

/* Accordion mobile pentru sidebarMenu categorii */
.fm-mobile-cat-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 12px 16px; background: none; border: none; text-align: left; font-weight: 500; color: #1c1713; font-family: "Jost", sans-serif; }
.fm-mobile-cat-toggle i { transition: transform .2s; color: #999; font-size: 12px; }
.fm-mobile-cat-toggle.open i { transform: rotate(90deg); }
.fm-mobile-subcat-list { display: none; background: #f7f7f5; padding: 4px 0; }
.fm-mobile-subcat-list.open { display: block; }
.fm-mobile-subcat-list li a { display: block; padding: 8px 28px; color: #555; text-decoration: none; font-size: 14px; font-family: "Jost", sans-serif; }
.fm-mobile-subcat-list li a:hover { color: #1c1713; background: #eee; }
.fm-mobile-subcat-list .fm-msc-label { padding: 8px 28px 4px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #888; font-weight: 600; font-family: "Jost", sans-serif; }
