﻿/*=========================================
    PAW MOTIONS PAGE
=========================================*/

.paw-motions-page {
    padding: 60px 0;
    background: #fff;
}

/*=========================================
    MAIN LAYOUT
=========================================*/

.paw-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

/*=========================================
    SIDEBAR
=========================================*/

.paw-sidebar {
    position: sticky;
    top: 30px;
}

/*=========================================
    SIDEBAR WIDGETS
=========================================*/

.sidebar-widget {
    margin-bottom: 45px;
}

    .sidebar-widget h3 {
        font-size: 30px;
        font-weight: 700;
        color: #24195D;
        margin-bottom: 25px;
    }

/*=========================================
    SEARCH
=========================================*/

.sidebar-search {
    position: relative;
}

    .sidebar-search input {
        width: 100%;
        height: 56px;
        border: 1px solid #E4E8F0;
        border-radius: 50px;
        padding: 0 60px 0 24px;
        font-size: 15px;
        color: #24195D;
        outline: none;
        transition: .3s;
    }

        .sidebar-search input::placeholder {
            color: #9AA5B5;
        }

        .sidebar-search input:focus {
            border-color: #FFD501;
        }

    .sidebar-search button {
        position: absolute;
        right: 22px;
        top: 50%;
        transform: translateY(-50%);
        border: none;
        background: transparent;
        color: #8C96A8;
        cursor: pointer;
        font-size: 16px;
    }

        .sidebar-search button:focus {
            outline: none;
        }

/*=========================================
    CATEGORY BUTTONS
=========================================*/

.category-group {
    margin-bottom: 25px;
}

.category-btn {
    display: block;
    width: 100%;
    height: 54px;
    border: 1px solid #E4E8F0;
    border-radius: 35px;
    background: #fff;
    color: #24195D;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    padding: 0 28px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: .3s;
}

    .category-btn:hover {
        border-color: #FFD501;
        color: #FFD501;
    }

    .category-btn.active {
        background: #FFD501;
        border-color: #FFD501;
        color: #fff;
    }

        .category-btn.active:hover {
            color: #fff;
        }

/*=========================================
    SUB CATEGORIES
=========================================*/

.subcategory-list {
    list-style: none;
    padding: 0 0 0 20px;
    margin: 0;
}

    .subcategory-list li {
        margin-bottom: 12px;
    }

    .subcategory-list a {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #4B4578;
        font-size: 15px;
        font-weight: 500;
        text-decoration: none;
        transition: .3s;
    }

        .subcategory-list a:hover {
            color: #FFD501;
        }

    .subcategory-list i {
        font-size: 9px;
        color: #4B4578;
    }

    .subcategory-list a:hover i {
        color: #FFD501;
    }

/*=========================================
    CONTENT
=========================================*/

.paw-content {
    width: 100%;
}

/*=========================================
    BREADCRUMB
=========================================*/

.paw-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 14px;
}

    .paw-breadcrumb a {
        color: #24195D;
        text-decoration: none;
        font-weight: 600;
    }

    .paw-breadcrumb span {
        color: #999;
    }

/*=========================================
    PAGE HEADER
=========================================*/

.paw-header {
    margin-bottom: 45px;
}

    .paw-header h1 {
        font-size: 48px;
        font-weight: 800;
        color: #FFD501;
        line-height: 1.1;
        margin-bottom: 12px;
    }

    .paw-header h2 {
        font-size: 30px;
        font-weight: 700;
        color: #24195D;
        margin-bottom: 15px;
    }

    .paw-header p {
        max-width: 720px;
        font-size: 18px;
        color: #5F6B7A;
        line-height: 1.7;
    }

/*=========================================
    PRODUCTS GRID
=========================================*/

/*.paw-products {
    display: grid;
    grid-template-columns: repeat(minmax(215px, 1fr));
    gap: 22px;
    align-items: stretch;*/ /* was: start — this is what let cards shrink */
/*}*/

    /*=========================================
    CARD SHELL
=========================================*/

    .paw-products .product-card {
        padding-bottom:20px!important;
    }

    .paw-products .product-item {
        display: flex;
        flex-direction: column;
        height: 100%;
        background: #F4F5F7;
        border-radius: 22px;
        padding: 22px 18px 26px;
        transition: .3s;
    }

        .paw-products .product-item:hover {
            transform: translateY(-4px);
        }

    .paw-products .pi-text {
        display: flex;
        flex-direction: column;
        flex: 1;
        text-align: center;
    }

    /*=========================================
    CARD TEXT — fixed title block keeps
    images and prices on the same baseline
=========================================*/

    .paw-products .catagory-name {
        display: block;
        color: #9AA0AC;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: .04em;
        text-transform: uppercase;
        text-decoration: none;
        margin-bottom: 6px;
    }

    .paw-products .paw-product-name {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 78px; /* 3 lines @ 22px/1.2 — same on every card */
        color: #24195D;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.2;
        text-decoration: none;
    /*    margin-bottom: 14px;*/
    }

        .paw-products .paw-product-name:hover {
            color: #FFC107;
        }

    .paw-products .btnToggleFavourite:empty {
        display: none; /* stops the empty anchor adding stray height */
    }

    /*=========================================
    IMAGE — fixed box, badge anchor
=========================================*/

    .paw-products .pi-pic {
        position: relative; /* required: .paw-badge is absolute */
        display: flex;
        align-items: center;
        justify-content: center;
        height: 200px;
        margin-bottom: 18px;
        cursor: pointer;
    }

        .paw-products .pi-pic img {
            max-width: 100%;
            max-height: 190px;
            width: auto;
            height: auto;
            object-fit: contain;
        }

    .paw-products .paw-badge {
        top: 8px;
        left: 8px;
        border-radius: 6px;
        padding: 5px 10px;
    }

    .paw-products .featured {
        position: absolute;
        top: 8px;
        right: 8px;
        background: #24195D;
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        padding: 5px 10px;
        border-radius: 6px;
        z-index: 2;
    }

    /*=========================================
    BUTTON — margin-top:auto pins the
    button + price to the card bottom
=========================================*/

    .paw-products .product-buttons {
        margin-top: auto;
        margin-bottom: 16px;
    }

    .paw-products .btn-cart {
        background: #24195D;
        color: #fff;
        border: none;
        border-radius: 30px;
        height: 44px;
        padding: 0 30px;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .02em;
        text-transform: uppercase;
        cursor: pointer;
        transition: .3s;
    }

        .paw-card .btn-cart:hover {
            background: #FFD501;
        }

    /*=========================================
    PRICE
=========================================*/

    .paw-products .product-price {
        display: block;
    }

        .paw-products .product-price p {
            margin: 0;
        }

    .paw-products .pawmotions-now-title,
    .paw-products .pawmotions-was-title {
        color: #8E8E8E;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.4;
    }

    .paw-products .pawmotions-was-title {
        margin-top: 8px !important;
    }

    .paw-products .pawmotions-now-price {
        display: block;
        white-space: nowrap; /* keeps "R" glued to the number */
        color: #FFC107;
        font-size: 34px;
        font-weight: 800;
        line-height: 1.1;
    }

    .paw-products .pawmotions-was-price {
        display: block;
        white-space: nowrap;
        color: #8E8E8E;
        font-size: 24px;
        font-weight: 700;
        line-height: 1.2;
    }

        .paw-products .pawmotions-was-price .line-through,
        .paw-products .line-through {
            text-decoration: line-through;
        }

        /* If WithCurrency() wraps the symbol in a span, normalise it */
        .paw-products .pawmotions-now-price span,
        .paw-products .pawmotions-was-price span {
            font-size: inherit;
            font-weight: inherit;
            vertical-align: baseline;
        }

.paw-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    background: #e63946;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

/*=========================================
    RESPONSIVE
=========================================*/

@media (max-width:1199px) {

    .paw-layout {
        grid-template-columns: 260px 1fr;
        gap: 40px;
    }

    .paw-products {
        grid-template-columns: repeat(3,1fr);
    }
}

@media (max-width:991px) {

    .paw-layout {
        grid-template-columns: 1fr;
    }

    .paw-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 40px;
    }

    .paw-products {
        grid-template-columns: repeat(2,1fr);
    }

    .paw-header h1 {
        font-size: 42px;
    }

    .paw-header h2 {
        font-size: 28px;
    }
}

@media (max-width:767px) {

    .paw-motions-page {
        padding: 40px 0;
    }

    .paw-header {
        text-align: center;
    }

        .paw-header h1 {
            font-size: 34px;
        }

        .paw-header h2 {
            font-size: 24px;
        }

        .paw-header p {
            font-size: 16px;
        }

    .sidebar-search input {
        font-size: 16px !important;
    }
}

@media (max-width:576px) {

    .paw-products {
        grid-template-columns: 1fr;
    }

    .sidebar-widget h3 {
        font-size: 24px;
    }

    .category-btn {
        height: 50px;
        font-size: 15px;
    }

    .subcategory-list a {
        font-size: 14px;
    }
}

@media (max-width:575px) {
    .paw-sidebar {
        display: none !important;
    }
}