/* Shop-related pages (product list / product detail) — built to restyle the
   existing functional markup without changing the classes/DOM structure the
   cart, size-switcher and spec-tab JS (Authentication.js) depends on. */

.vs-product-card {
    background-color: var(--white-color);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 40px;
}
.vs-product-card .entry-header {
    height: 100%;
    min-height: 320px;
    background-color: var(--smoke-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.vs-product-card .entry-header img {
    height: 100%;
    max-height: 420px;
    object-fit: cover;
}
.vs-product-card .entry-content {
    padding: 35px 40px !important;
}
.vs-product-card .entry-content h5 {
    font-family: var(--title-font);
    font-size: 24px;
    margin-bottom: 12px;
}
.vs-product-card .entry-content h5 a {
    color: var(--title-color);
}
.vs-product-card .entry-content > p {
    color: var(--body-color);
    opacity: 0.75;
    margin-bottom: 18px;
}

.vs-product-card .main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
    font-weight: 600;
    color: var(--title-color);
}
.vs-product-card .main.size select {
    flex: 1;
    max-width: 220px;
    border: 1px solid #e4e4e4;
    border-radius: 30px;
    padding: 8px 16px;
    font-weight: 500;
    background-color: var(--white-color);
}
.vs-product-card .main_qty input.qty {
    width: 70px;
    border: 1px solid #e4e4e4;
    border-radius: 30px;
    padding: 6px 12px;
    text-align: center;
}
.vs-product-card .main.price span {
    color: var(--theme-color);
    font-size: 20px;
    font-weight: 700;
}

.vs-product-card .tab {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 22px 0 4px;
}
.vs-product-card .tablinks {
    border: 1px solid #e4e4e4;
    background-color: var(--white-color);
    color: var(--title-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s ease-in-out;
}
.vs-product-card .tablinks.tabactive {
    background-color: var(--theme-color) !important;
    border-color: var(--theme-color);
    color: var(--white-color);
}
.vs-product-card .tabcontent {
    display: none;
}
.vs-product-card .tabshow {
    display: block !important;
    text-align: left;
    background-color: var(--smoke-color);
    border-radius: 14px;
    padding: 18px 22px;
    margin-top: 16px;
}
.vs-product-card .tabshow h3 {
    font-family: var(--title-font);
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--theme-color);
}
.vs-product-card .tabshow p {
    margin: 0;
    color: var(--body-color);
    opacity: 0.8;
}

.vs-product-card .cart-btn {
    margin-top: 22px;
    display: inline-flex;
}

@media (max-width: 767px) {
    .vs-product-card .entry-content {
        padding: 28px 22px !important;
    }
}

/* Product catalog tile — used on the Products page grid and the home page
   product carousel, so both look identical. */
.vs-product-tile {
    background-color: var(--white-color);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(18, 38, 22, 0.07);
    transition: transform 0.35s ease-in-out, box-shadow 0.35s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.vs-product-tile:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(18, 38, 22, 0.14);
}
.vs-product-tile__img {
    position: relative;
    display: block;
    background-color: var(--smoke-color);
    height: 230px;
    overflow: hidden;
}
.vs-product-tile__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    transition: transform 0.5s ease-in-out;
}
.vs-product-tile:hover .vs-product-tile__img img {
    transform: scale(1.08);
}
.vs-product-tile__price {
    position: absolute;
    top: 14px;
    right: 14px;
    background-color: var(--theme-color);
    color: var(--white-color);
    font-family: var(--title-font);
    font-size: 13px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(71, 179, 45, 0.35);
}
.vs-product-tile__body {
    padding: 22px 24px 26px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.vs-product-tile__title {
    font-family: var(--title-font);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.35;
}
.vs-product-tile__title a {
    color: var(--title-color);
}
.vs-product-tile__title a:hover {
    color: var(--theme-color);
}
.vs-product-tile__desc {
    color: var(--body-color);
    opacity: 0.7;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}
.vs-product-tile__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
    padding: 9px 22px;
    border-radius: 30px;
    border: 1.5px solid var(--theme-color);
    color: var(--theme-color);
    font-family: var(--title-font);
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
}
.vs-product-tile__btn i {
    font-size: 11px;
    transition: transform 0.3s ease-in-out;
}
.vs-product-tile__btn:hover {
    background-color: var(--theme-color);
    color: var(--white-color);
}
.vs-product-tile__btn:hover i {
    transform: translateX(4px);
}

/* Carousel (home page) needs a touch of side padding so the hover-lift and
   shadow on each slide don't get clipped by the slick track. */
.vs-carousel .vs-product-tile-col {
    padding: 6px 10px 20px;
}
