/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */


/* Filtro de categorías en Top Bar */
ul.oceanwp-cat-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

ul.oceanwp-cat-filter li a {
  display: inline-block;
  padding: 4px 14px;
  font-size: 12px;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s;
}

ul.oceanwp-cat-filter li a:hover,
ul.oceanwp-cat-filter li a.active {
  background: #7c9c2f;
  color: #fff !important;
  border-color: #7c9c2f;
}


/* ── Filtro wrap ── */
.owp-filter-wrap {
    margin-bottom: 24px;
}

/* ── Botones ── */
.owp-cat-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.owp-filter-btn {
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 30px;
    border: 1.5px solid #d0d0d0;
    background: #fff;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}

.owp-filter-btn:hover {
    border-color: #7c9c2f;
    color: #7c9c2f;
}

.owp-filter-btn.active {
    background: #7c9c2f;
    border-color: #7c9c2f;
    color: #fff;
}

/* ── Loading animado ── */
.owp-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 60px 0;
    width: 100%;
}

.owp-loading span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #7c9c2f;
    animation: owp-bounce 0.6s infinite alternate;
}

.owp-loading span:nth-child(2) { animation-delay: 0.2s; }
.owp-loading span:nth-child(3) { animation-delay: 0.4s; }

@keyframes owp-bounce {
    from { transform: translateY(0); opacity: 0.4; }
    to   { transform: translateY(-10px); opacity: 1; }
}

/* ── Sin productos ── */
.owp-no-products {
    text-align: center;
    color: #888;
    padding: 40px 0;
    font-size: 15px;
}