/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 07 2026 | 13:00:07 */
/* ==================================================
   CGA — PREMIUM SHOP SIDEBAR
   Product categories and product searches only
   ================================================== */

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar {
  --cga-sidebar-ink: #302823;
  --cga-sidebar-text: #655347;
  --cga-sidebar-muted: #887d74;
  --cga-sidebar-gold: #87591d;
  --cga-sidebar-gold-light: #d6b06a;
  --cga-sidebar-line: #ebe3d8;
  --cga-sidebar-wash: #fbf8f3;
}

/* Widget spacing */
:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar :is(
  .widget_product_categories,
  .widget_price_filter,
  .widget_recently_viewed_products
) {
  margin: 0 0 42px;
  padding: 0;
}

/* Premium section headings */
:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar :is(
  .widget_product_categories,
  .widget_price_filter,
  .widget_recently_viewed_products
) .widget-title {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: var(--cga-sidebar-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Small diamond detail */
:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .widget-title::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--cga-sidebar-gold);
  transform: rotate(45deg);
}

/* Fading gold line */
:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .widget-title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--cga-sidebar-gold-light),
    transparent
  );
}

/* Remove Flatsome's short divider */
:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .is-divider {
  display: none;
}

/* ==================================================
   BROWSE CATEGORIES
   ================================================== */

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .product-categories {
  margin: 15px 0 0;
  padding: 0;
}

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .product-categories li {
  position: relative;
  margin: 0;
  list-style: none;
}

/* Main categories */
:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .product-categories > li {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--cga-sidebar-line);
}

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .product-categories > li:last-child {
  border-bottom: 0;
}

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .product-categories > li > a {
  flex: 1 1 auto;
  min-width: 0;
  padding: 11px 42px 11px 8px;
  color: var(--cga-sidebar-text);
  font-size: 15px;
  line-height: 1.4;
  border-radius: 7px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    padding-left 0.2s ease;
}

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .product-categories > li > a:hover {
  padding-left: 12px;
  color: var(--cga-sidebar-ink);
  background: linear-gradient(
    90deg,
    var(--cga-sidebar-wash),
    transparent
  );
}

/* Current category */
:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .product-categories :is(
  .current-cat,
  .current-cat-parent
) > a {
  padding-left: 13px;
  color: var(--cga-sidebar-ink);
  font-weight: 700;
  background: linear-gradient(
    90deg,
    #f8f1e5,
    transparent
  );
  box-shadow: inset 2px 0 0 var(--cga-sidebar-gold);
}

/* Accordion arrow */
:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .product-categories .toggle {
  position: absolute;
  top: 2px;
  right: 0;
  display: inline-grid;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  place-items: center;
  color: var(--cga-sidebar-muted);
  background: transparent;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .product-categories .toggle:hover,

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .product-categories .active > .toggle {
  color: var(--cga-sidebar-gold);
  background: #f8f1e5;
}

/* Subcategories */
:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .product-categories .children {
  width: 100%;
  margin: 2px 0 9px 9px;
  padding: 2px 0 2px 14px;
  border-left: 1px solid #ddcbae;
}

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .product-categories .children li > a {
  display: block;
  padding: 7px 10px 7px 8px;
  color: var(--cga-sidebar-text);
  font-size: 14px;
  line-height: 1.4;
  border-radius: 6px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .product-categories .children li > a:hover {
  color: var(--cga-sidebar-gold);
  background: var(--cga-sidebar-wash);
}

/* ==================================================
   FILTER BY PRICE
   ================================================== */

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .widget_price_filter .price_slider_wrapper {
  padding-top: 23px;
}

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .widget_price_filter .price_slider {
  height: 4px;
  margin: 5px 11px 26px;
  background: #e4ddd4;
  border: 0;
  border-radius: 999px;
}

/* Selected price range */
:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .widget_price_filter .ui-slider-range {
  background: linear-gradient(
    90deg,
    var(--cga-sidebar-gold),
    var(--cga-sidebar-gold-light)
  );
  border-radius: 999px;
}

/* Slider handles */
:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .widget_price_filter .ui-slider-handle {
  top: 50%;
  width: 21px;
  height: 21px;
  margin-left: -10px;
  background: var(--cga-sidebar-gold);
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(135, 89, 29, 0.35),
    0 4px 12px rgba(57, 42, 29, 0.18);
  cursor: grab;
  transform: translateY(-50%);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .widget_price_filter .ui-slider-handle:hover {
  box-shadow:
    0 0 0 4px rgba(135, 89, 29, 0.12),
    0 5px 15px rgba(57, 42, 29, 0.2);
  transform: translateY(-50%) scale(1.05);
}

/* Filter button and price label */
:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .widget_price_filter .price_slider_amount {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .widget_price_filter .button {
  float: none;
  min-height: 40px;
  margin: 0;
  padding: 0 18px;
  color: #ffffff;
  background: var(--cga-sidebar-ink);
  border: 1px solid var(--cga-sidebar-ink);
  border-radius: 999px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .widget_price_filter .button:hover {
  color: #ffffff;
  background: var(--cga-sidebar-gold);
  border-color: var(--cga-sidebar-gold);
}

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .widget_price_filter .price_label {
  float: none;
  padding: 0;
  color: var(--cga-sidebar-text);
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
}

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .widget_price_filter .price_label span {
  color: var(--cga-sidebar-ink);
  font-weight: 700;
}

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .widget_price_filter .clear {
  display: none;
}

/* ==================================================
   RECENTLY VIEWED
   ================================================== */

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .product_list_widget {
  margin: 14px 0 0;
}

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .widget_recently_viewed_products
.product_list_widget > li {
  position: relative;
  min-height: 86px;
  margin: 0;
  padding: 13px 7px 13px 79px;
  border-bottom: 1px solid var(--cga-sidebar-line);
  border-radius: 9px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .widget_recently_viewed_products
.product_list_widget > li:last-child {
  border-bottom-color: transparent;
}

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .widget_recently_viewed_products
.product_list_widget > li:hover {
  background: var(--cga-sidebar-wash);
  transform: translateX(2px);
}

/* Recently viewed images */
:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .widget_recently_viewed_products
.product_list_widget > li img {
  position: absolute;
  top: 13px;
  left: 7px;
  width: 58px;
  height: 58px;
  margin: 0;
  padding: 4px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--cga-sidebar-line);
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(54, 42, 31, 0.08);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .widget_recently_viewed_products
.product_list_widget > li:hover img {
  border-color: #d6bd91;
  transform: scale(1.03);
}

/* Product names */
:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .widget_recently_viewed_products
.product-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--cga-sidebar-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .widget_recently_viewed_products a:hover
.product-title {
  color: var(--cga-sidebar-gold);
}

/* Prices */
:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .widget_recently_viewed_products
.product_list_widget .amount {
  display: inline-block;
  margin-top: 5px;
  color: var(--cga-sidebar-ink);
  font-size: 14px;
  font-weight: 700;
}

:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar .widget_recently_viewed_products ins {
  text-decoration: none;
}

/* Keyboard accessibility */
:is(
  body.tax-product_cat,
  body.search.post-type-archive-product
) #shop-sidebar :is(
  a,
  button,
  .ui-slider-handle
):focus-visible {
  outline: 2px solid var(--cga-sidebar-gold);
  outline-offset: 3px;
}

/* Mobile filter drawer */
@media (max-width: 849px) {
  :is(
    body.tax-product_cat,
    body.search.post-type-archive-product
  ) #shop-sidebar .product-categories .toggle {
    width: 44px;
    height: 44px;
    min-height: 44px;
  }

  :is(
    body.tax-product_cat,
    body.search.post-type-archive-product
  ) #shop-sidebar .widget_price_filter .ui-slider-handle {
    width: 24px;
    height: 24px;
    margin-left: -12px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  :is(
    body.tax-product_cat,
    body.search.post-type-archive-product
  ) #shop-sidebar * {
    transition: none !important;
  }

  :is(
    body.tax-product_cat,
    body.search.post-type-archive-product
  ) #shop-sidebar
  .widget_recently_viewed_products li:hover,

  :is(
    body.tax-product_cat,
    body.search.post-type-archive-product
  ) #shop-sidebar
  .widget_recently_viewed_products li:hover img,

  :is(
    body.tax-product_cat,
    body.search.post-type-archive-product
  ) #shop-sidebar
  .ui-slider-handle:hover {
    transform: none !important;
  }
}