/*
Theme Name: Astra Child
Template: astra
Version: 1.0
*/

/* === VT ARCHIVE PAGE === */

.vt-archive-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 60px;
}

.vt-archive-header {
    background: #1a1a2e;
    border-radius: 16px 16px 0 0 !important;
    padding: 24px 28px;
    margin-bottom: 0 !important;
}

.vt-breadcrumb {
    font-size: 12px;
    color: #888;
    margin-bottom: 12px;
}

.vt-breadcrumb a {
    color: #888;
    text-decoration: none;
}

.vt-breadcrumb a:hover {
    color: #fff;
}

.vt-breadcrumb span {
    margin: 0 6px;
}

.vt-breadcrumb-current {
    color: #fff;
}

.vt-archive-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.vt-archive-title {
    font-size: 26px;
    font-weight: 500;
    color: #fff;
    margin: 0 0 8px;
    font-family: "Quicksand", sans-serif;
}

.vt-archive-desc {
    font-size: 14px;
    color: #aaa;
    margin: 0;
    max-width: 600px;
    line-height: 1.6;
    font-family: "Quicksand", sans-serif;
}

.vt-archive-count {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    padding-top: 6px;
    font-family: "Quicksand", sans-serif;
}

.vt-trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #fff;
    border: 1px solid #e8e8e8 !important;
    border-radius: 0 0 12px 12px !important;
    margin-bottom: 16px;
    border-top: none !important;
    overflow: hidden;
}

.vt-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-right: 1px solid #e8e8e8;
    font-family: "Quicksand", sans-serif;
}

.vt-trust-item:last-child {
    border-right: none;
}

.vt-trust-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    flex-shrink: 0;
}

.vt-trust-item strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
}

.vt-trust-item span {
    font-size: 11px;
    color: #888;
}

.vt-archive-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 4px;
}

.vt-product-count {
    font-size: 13px;
    color: #888;
    font-family: "Quicksand", sans-serif;
}

.vt-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #888;
    font-family: "Quicksand", sans-serif;
}

.vt-sort-select {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
    font-family: "Quicksand", sans-serif;
    background: #fff;
    cursor: pointer;
}

.vt-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 30px;
}

.vt-product-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: border-color 0.15s, transform 0.15s;
}

.vt-product-card:hover {
    border-color: #bbb;
    transform: translateY(-2px);
}

.vt-badge-sale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff0ec;
    color: #c0392b;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 2;
    font-family: "Quicksand", sans-serif;
}

.vt-card-img-wrap {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8f8f8;
}

.vt-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform 0.2s;
}

.vt-product-card:hover .vt-card-img-wrap img {
    transform: scale(1.04);
}

.vt-card-body {
    padding: 12px 12px 40px;
}

.vt-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 8px;
    font-family: "Quicksand", sans-serif;
}

.vt-card-price {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    font-family: "Quicksand", sans-serif;
}

.vt-card-cta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    font-family: "Quicksand", sans-serif;
    text-decoration: none;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    width: 100%;
    box-sizing: border-box;
}

.vt-cta-add {
    background: #1D9E75;
    color: #fff;
}

.vt-cta-view {
    background: #393E46;
    color: #fff;
}

.vt-product-card:hover .vt-card-cta {
    opacity: 1;
    transform: translateY(0);
}

.vt-pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    padding: 20px 0;
    font-family: "Quicksand", sans-serif;
}

.vt-pagination a,
.vt-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #393E46;
    text-decoration: none;
    background: #fff;
    transition: all 0.15s;
}

.vt-pagination a:hover {
    background: #393E46;
    color: #fff;
    border-color: #393E46;
}

.vt-pagination .current {
    background: #393E46;
    color: #fff;
    border-color: #393E46;
}

@media (max-width: 1024px) {
    .vt-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .vt-trust-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .vt-trust-item:nth-child(2) {
        border-right: none;
    }
    .vt-trust-item:nth-child(3),
    .vt-trust-item:nth-child(4) {
        border-top: 1px solid #e8e8e8;
    }
}

@media (max-width: 768px) {
    .vt-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .vt-archive-title {
        font-size: 20px;
    }
    .vt-trust-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .vt-archive-title-row {
        flex-direction: column;
        gap: 8px;
    }
}


/* === READ MORE OPIS === */
.wl-desc-wrap { position: relative; }
.wl-desc-wrap .vt-archive-desc {
    overflow: hidden;
    max-height: 4.8em;
    transition: max-height 0.4s ease;
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
    font-family: "Quicksand", sans-serif;
}
.wl-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #a0a1a4;
    font-family: "Quicksand", sans-serif;
}
.wl-read-more:hover { opacity: 0.75; }
.wl-read-more .wl-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}
.wl-desc-wrap.expanded .wl-read-more .wl-arrow {
    transform: rotate(180deg);
}

.vt-trust-item > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.vt-trust-item strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
}

.vt-trust-item span {
    font-size: 11px;
    color: #888;
    margin: 0;
    padding: 0;
}
