/* =====================================
   BASE / GLOBAL
===================================== */

.pk-page-header h1 {
    font-size: 24px;
    margin-bottom: 14px;
}

.pk-content {
    flex: 1;
}

/* =====================================
   LAYOUT
===================================== */

.pk-grid-wrap {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* Sidebar */
.pk-sidebar {
    width: 280px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 18px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    position: sticky;
    top: 90px;
    align-self: flex-start;
}

.pk-sidebar-sticky {
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

/* =====================================
   FILTER
===================================== */

.pk-filter-box h3 {
    margin: 0 0 10px;
    font-size: 20px;
    text-transform: uppercase;
    font-family: 'Climbing Nevis',Helvetica,Arial,Lucida,sans-serif;
}

.pk-filter-form label {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #444;
}

.pk-filter-form select,
.pk-filter-form input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
}

/* Price range (clean version) */
.pk-price-range {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}

.pk-input-rp {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    padding: 0 10px;
    border-radius: 6px;
    background: #fff;
}

.pk-input-rp span {
    font-size: 14px;
    color: #444;
    margin-right: 6px;
    font-weight: 600;
}

.pk-input-rp input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
    background: transparent;
    padding: 8px 0;
}

/* Button */
.pk-filter-btn {
    margin-top: 12px;
    width: 100%;
    padding: 10px;
    background: #043590;
    border: none;
    color: #fff;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
}

/* =====================================
   PRODUCT GRID
===================================== */

.pk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 3fr));
    gap: 15px;
    padding: 0 18px;
}

.srctcd.pk-grid {
    padding: 0;
    grid-template-columns: repeat(auto-fill, minmax(400px, 3fr));
}

/* Card */
.pk-product-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    transition: box-shadow .12s, transform .12s;
}

.pk-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

/* Image */
.pk-img-wrapper {
    width: 100%;
    height: 200px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.srctcd.pk-grid .pk-img-wrapper {
    height: 300px;
}

/* Title */
.pk-title {
    font-size: 22px;
    color: #043590;
    text-align: center;
    margin-top: 20px;
    font-family: 'Climbing Nevis',Helvetica,Arial,Lucida,sans-serif;
    /* font-weight: bold; */
}
.pk-subtitle {
    text-align: center;
    color: #043590;
}
/* Price */
.pk-price {
    color: #000;
    font-weight: 700;
    font-size: 15px;
}

/* =====================================
   PAGINATION
===================================== */

.pk-pagination {
    margin-top: 18px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 0 18px;
}

.pk-pagination a {
    color: #043590;
}

.pk-page-btn {
    padding: 8px 10px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    border-radius: 6px;
}

.pk-page-btn.active {
    background: #ff7a00;
    color: #fff;
    border-color: #ff7a00;
}

/* =====================================
   LOADING STATE
===================================== */

#pk-ajax-products.pk-loading {
    opacity: 0.6;
    position: relative;
}

#pk-ajax-products.pk-loading:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 20px;
    width: 36px;
    height: 36px;
    margin-left: -18px;
    border-radius: 50%;
    border: 4px solid rgba(0,0,0,0.08);
    border-top-color: #ff7a00;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =====================================
   EMPTY STATE
===================================== */

.pk-no-results,
.pk-error {
    padding: 18px;
    background: #fff;
    border: 1px solid #f2f2f2;
    border-radius: 8px;
    color: #666;
}

/* =====================================
   SINGLE PRODUCT
===================================== */

.tkp-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
}

.tkp-gallery { width: 45%; }
.tkp-info { width: 55%; }

.tkp-main-image img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
}

.tkp-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.tkp-thumb {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
}

.tkp-thumb:hover {
    border-color: #00a85a;
}

/* Title */
h1.product-title {
    color: #043590;
    font-weight: bold;
    font-size: 30px;
    margin-top: 45px;
    font-family: 'Climbing Nevis',Helvetica,Arial,Lucida,sans-serif;
    letter-spacing: 1.5px;
}

h2.product-subtitle {
    color: #043590;
    font-size: 20px;
    padding-bottom: 30px;
    /* font-family: 'Climbing Nevis',Helvetica,Arial,Lucida,sans-serif; */
    /* letter-spacing: 1.5px; */
}

h3.tabs {
    font-size: 20px;
    text-transform: uppercase;
    font-family: 'Climbing Nevis',Helvetica,Arial,Lucida,sans-serif;
}

/* Tabs */
.tkp-tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

.tkp-tab {
    padding: 12px 20px;
    font-weight: 600;
    background: none;
    cursor: pointer;
}

.tkp-tab.active {
    border-bottom: 3px solid #00a85a;
    color: #00a85a;
}

.tkp-tab-content {
    display: none;
    line-height: 1.7;
}

.tkp-tab-content.active {
    display: block;
}

/* =====================================
   RESPONSIVE
===================================== */
@media (max-width: 1920px) {
    .pk-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 3fr));
    }
    .pk-title {
        font-size: 20px;
    }
    .pk-subtitle {
        font-size: 14px;
    }
    .pk-img-wrapper {
        height: 120px;
    }
}

@media (max-width: 900px) {
    .pk-grid-wrap { flex-direction: column; }
    .pk-sidebar { width: 100%; order: 2; }
    .pk-content { order: 1; }

    .tkp-container {
        flex-direction: column;
    }

    .tkp-gallery,
    .tkp-info {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .pk-sidebar,
    .pk-sidebar-sticky {
        position: static;
    }

    .pk-img-wrapper, .srctcd.pk-grid .pk-img-wrapper {
        height: 200px;
    }
    
}

@media (max-width: 480px) {
    .srctcd.pk-grid  {
        grid-template-columns: repeat(auto-fill, minmax(260px, 3fr));
    }
    .pk-grid  {
        grid-template-columns: repeat(auto-fill, minmax(333px, 3fr));
    }
}/* =====================================
   BASE / GLOBAL
===================================== */

.pk-page-header h1 {
    font-size: 24px;
    margin-bottom: 14px;
}

.pk-content {
    flex: 1;
}

/* =====================================
   LAYOUT
===================================== */

.pk-grid-wrap {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* Sidebar */
.pk-sidebar {
    width: 280px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 18px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    position: sticky;
    top: 90px;
    align-self: flex-start;
}

.pk-sidebar-sticky {
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

/* =====================================
   FILTER
===================================== */

.pk-filter-box h3 {
    margin: 0 0 10px;
    font-size: 20px;
    text-transform: uppercase;
    font-family: 'Climbing Nevis',Helvetica,Arial,Lucida,sans-serif;
}

.pk-filter-form label {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #444;
}

.pk-filter-form select,
.pk-filter-form input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
}

/* Price range (clean version) */
.pk-price-range {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}

.pk-input-rp {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    padding: 0 10px;
    border-radius: 6px;
    background: #fff;
}

.pk-input-rp span {
    font-size: 14px;
    color: #444;
    margin-right: 6px;
    font-weight: 600;
}

.pk-input-rp input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
    background: transparent;
    padding: 8px 0;
}

/* Button */
.pk-filter-btn {
    margin-top: 12px;
    width: 100%;
    padding: 10px;
    background: #043590;
    border: none;
    color: #fff;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
}

/* =====================================
   PRODUCT GRID
===================================== */

.pk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 3fr));
    gap: 15px;
    padding: 0 18px;
}

.srctcd.pk-grid {
    padding: 0;
    grid-template-columns: repeat(auto-fill, minmax(400px, 3fr));
}

/* Card */
.pk-product-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    transition: box-shadow .12s, transform .12s;
}

.pk-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

/* Image */
.pk-img-wrapper {
    width: 100%;
    height: 200px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.srctcd.pk-grid .pk-img-wrapper {
    height: 300px;
}

/* Title */
.pk-title {
    font-size: 22px;
    color: #043590;
    text-align: center;
    margin-top: 20px;
    font-family: 'Climbing Nevis',Helvetica,Arial,Lucida,sans-serif;
    /* font-weight: bold; */
}
.pk-subtitle {
    text-align: center;
    color: #043590;
}
/* Price */
.pk-price {
    color: #000;
    font-weight: 700;
    font-size: 15px;
}

/* =====================================
   PAGINATION
===================================== */

.pk-pagination {
    margin-top: 18px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 0 18px;
}

.pk-pagination a {
    color: #043590;
}

.pk-page-btn {
    padding: 8px 10px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    border-radius: 6px;
}

.pk-page-btn.active {
    background: #ff7a00;
    color: #fff;
    border-color: #ff7a00;
}

/* =====================================
   LOADING STATE
===================================== */

#pk-ajax-products.pk-loading {
    opacity: 0.6;
    position: relative;
}

#pk-ajax-products.pk-loading:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 20px;
    width: 36px;
    height: 36px;
    margin-left: -18px;
    border-radius: 50%;
    border: 4px solid rgba(0,0,0,0.08);
    border-top-color: #ff7a00;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =====================================
   EMPTY STATE
===================================== */

.pk-no-results,
.pk-error {
    padding: 18px;
    background: #fff;
    border: 1px solid #f2f2f2;
    border-radius: 8px;
    color: #666;
}

/* =====================================
   SINGLE PRODUCT
===================================== */

.tkp-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
}

.tkp-gallery { width: 45%; }
.tkp-info { width: 55%; }

.tkp-main-image img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
}

.tkp-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.tkp-thumb {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
}

.tkp-thumb:hover {
    border-color: #00a85a;
}

/* Title */
h1.product-title {
    color: #043590;
    font-weight: bold;
    font-size: 30px;
    margin-top: 45px;
    font-family: 'Climbing Nevis',Helvetica,Arial,Lucida,sans-serif;
    letter-spacing: 1.5px;
}

h2.product-subtitle {
    color: #043590;
    font-size: 20px;
    padding-bottom: 30px;
    /* font-family: 'Climbing Nevis',Helvetica,Arial,Lucida,sans-serif; */
    /* letter-spacing: 1.5px; */
}

h3.tabs {
    font-size: 20px;
    text-transform: uppercase;
    font-family: 'Climbing Nevis',Helvetica,Arial,Lucida,sans-serif;
}

/* Tabs */
.tkp-tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

.tkp-tab {
    padding: 12px 20px;
    font-weight: 600;
    background: none;
    cursor: pointer;
}

.tkp-tab.active {
    border-bottom: 3px solid #00a85a;
    color: #00a85a;
}

.tkp-tab-content {
    display: none;
    line-height: 1.7;
}

.tkp-tab-content.active {
    display: block;
}

/* =====================================
   RESPONSIVE
===================================== */
@media (max-width: 1920px) {
    .pk-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 3fr));
    }
    .pk-title {
        font-size: 20px;
    }
    .pk-subtitle {
        font-size: 14px;
    }
    .pk-img-wrapper {
        height: 120px;
    }
}

@media (max-width: 900px) {
    .pk-grid-wrap { flex-direction: column; }
    .pk-sidebar { width: 100%; order: 2; }
    .pk-content { order: 1; }

    .tkp-container {
        flex-direction: column;
    }

    .tkp-gallery,
    .tkp-info {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .pk-sidebar,
    .pk-sidebar-sticky {
        position: static;
    }

    .pk-img-wrapper, .srctcd.pk-grid .pk-img-wrapper {
        height: 200px;
    }
    
}

@media (max-width: 480px) {
    .srctcd.pk-grid  {
        grid-template-columns: repeat(auto-fill, minmax(260px, 3fr));
    }
    .pk-grid  {
        grid-template-columns: repeat(auto-fill, minmax(333px, 3fr));
    }
}