/*-----------------------------PRODUCTS (listing, category and single pages)----------------------------- */

/* Category filter */
.swp-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.swp-filter-btn {
    border: 2px solid #69a0e2;
    background: #fff;
    color: #69a0e2;
    border-radius: 30px;
    padding: 6px 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
}

.swp-filter-btn:hover,
.swp-filter-btn.active {
    background: #69a0e2;
    color: #fff;
}

.swp-filter-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(105, 160, 226, .35);
}

/* Category groups */
.swp-group {
    margin-bottom: 30px;
}

.swp-group-title {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.6rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.swp-group-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #f60089;
    margin: 10px auto 0;
}

.swp-group-desc {
    text-align: center;
    color: #555;
    max-width: 700px;
    margin: 0 auto 25px;
}

/* Product card */
.swp-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}

.swp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.swp-card-img {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: #f5f8fc;
    padding: 15px;
}

.swp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.swp-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.swp-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.swp-card-title a {
    color: #000;
}

.swp-card-title a:hover {
    color: #69a0e2;
    text-decoration: none;
}

.swp-card-actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.swp-card-actions .btn {
    flex: 1;
    white-space: nowrap;
}

/* Sale badge */
.swp-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    background: #f60089;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}

/* Quick features */
.swp-quick {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    font-size: .9rem;
    color: #444;
}

.swp-quick li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 3px;
}

.swp-quick li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #69a0e2;
}

.swp-quick-lg {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Price */
.swp-price {
    margin-bottom: 12px;
}

.swp-price-now {
    font-size: 1.25rem;
    font-weight: 700;
    color: #50a236;
}

.swp-price-was {
    color: #999;
    margin-left: 4px;
}

.swp-price-off {
    display: inline-block;
    background: #ffe3f2;
    color: #f60089;
    font-size: .8rem;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 10px;
    margin-left: 4px;
}

.swp-price-call {
    font-weight: 700;
    color: #69a0e2;
}

.swp-price-lg .swp-price-now {
    font-size: 1.9rem;
}

.swp-price-lg .swp-price-was {
    font-size: 1.1rem;
}

/* Breadcrumb */
.swp-breadcrumb {
    font-size: .9rem;
    color: #666;
    margin-bottom: 25px;
}

.swp-breadcrumb a {
    color: #69a0e2;
}

.swp-breadcrumb span {
    margin: 0 6px;
}

/* Single product */
.swp-single-img {
    position: relative;
    background: #f5f8fc;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
}

.swp-single-img img {
    max-height: 480px;
    width: auto;
    object-fit: contain;
}

/* Row of product photos under the main photo */
.swp-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.swp-thumb {
    flex: 0 0 76px;
    height: 76px;
    padding: 4px;
    background: #f5f8fc;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .2s;
}

.swp-thumb:hover,
.swp-thumb.active {
    border-color: #69a0e2;
}

.swp-thumb:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(105, 160, 226, .35);
}

.swp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.swp-single-cat {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .85rem;
    font-weight: 700;
    color: #f60089;
    margin-bottom: 5px;
}

.swp-single-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
}

.swp-single-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.swp-single-actions .btn {
    padding: 10px 22px;
}

.swp-section {
    margin-top: 40px;
}

.swp-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 3px solid #69a0e2;
    display: inline-block;
}

.swp-description img {
    max-width: 100%;
    height: auto;
}

.swp-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px 25px;
}

.swp-features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.swp-features i {
    color: #50a236;
    margin-top: 4px;
}

.swp-specs-table {
    max-width: 800px;
    margin-bottom: 0;
}

.swp-specs-table th {
    width: 40%;
    font-weight: 600;
    color: #333;
}

@media (max-width: 767px) {
    .swp-single-title {
        font-size: 1.6rem;
    }

    .swp-single-actions .btn {
        flex: 1;
    }
}
