
/* =========================================
   URBANVIBE SHOP PAGE
========================================= */

.uv-shop {
    width: min(1200px, 92%);
    margin: 0 auto;
    padding: 48px 0 70px;
}

.uv-shop-heading {
    padding: 45px 20px;
    margin-bottom: 32px;
    text-align: center;
    background: #f5f5f5;
    border-radius: 16px;
}

.uv-eyebrow {
    margin: 0 0 12px;
    color: #557000;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.uv-shop-heading h1 {
    margin: 0;
    color: #111;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.1;
}

.uv-shop-heading h1 span {
    color: #b5ed00;
    text-shadow: 1px 1px #111;
}

.uv-shop-heading > p:last-child {
    color: #555;
    margin-bottom: 0;
}

.uv-shop-controls {
    display: grid;
    grid-template-columns: minmax(200px, 2fr) minmax(130px, 1fr)
        minmax(150px, 1fr);
    gap: 10px 14px;
    align-items: end;
    margin-bottom: 22px;
}

.uv-shop-controls label {
    display: block;
    font-size: 13px;
    font-weight: 700;
}

.uv-search-label {
    grid-column: 1;
}

#uv-product-search {
    grid-column: 1;
}

#uv-category-filter,
#uv-sort-products {
    grid-row: 2;
}

.uv-shop-controls input,
.uv-shop-controls select {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font: inherit;
}

.uv-product-count {
    margin: 18px 0;
    color: #555;
    font-size: 14px;
}

.uv-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 18px;
}

.uv-product-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.uv-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgb(0 0 0 / 8%);
}

.uv-product-image-wrap {
    position: relative;
    overflow: hidden;
    background: #f4f4f4;
    aspect-ratio: 4 / 5;
}

.uv-product-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uv-product-category {
    display: inline-block;
    margin: 15px 14px 0;
    color: #607900;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.uv-product-info {
    padding: 0 14px 15px;
}

.uv-product-name {
    min-height: 42px;
    margin: 8px 0;
    color: #171717;
    font-size: 15px;
    line-height: 1.4;
}

.uv-product-rating {
    margin: 0 0 10px;
    color: #555;
    font-size: 13px;
}

.uv-product-price {
    margin: 0 0 14px;
    color: #111;
    font-size: 19px;
    font-weight: 800;
}

.uv-add-to-cart {
    width: 100%;
    min-height: 42px;
    padding: 10px;
    border: 1px solid #111;
    border-radius: 7px;
    background: #111;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.uv-add-to-cart:hover {
    background: #b5ed00;
    color: #111;
}

.uv-shop-empty {
    padding: 35px 10px;
    text-align: center;
    color: #555;
}

.uv-shop-footer {
    padding: 26px 15px;
    background: #111;
    color: #fff;
    text-align: center;
}

.uv-shop-footer p {
    margin: 6px 0;
    font-size: 13px;
}

@media (max-width: 900px) {
    .uv-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .uv-shop {
        padding-top: 25px;
    }

    .uv-shop-heading {
        padding: 34px 12px;
    }

    .uv-shop-controls {
        grid-template-columns: 1fr 1fr;
    }

    .uv-search-label,
    #uv-product-search {
        grid-column: 1 / -1;
    }

    #uv-category-filter,
    #uv-sort-products {
        grid-row: auto;
    }

    .uv-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 10px;
    }

    .uv-product-info {
        padding: 0 10px 12px;
    }

    .uv-product-name {
        font-size: 13px;
    }

    .uv-product-price {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .uv-product-card,
    .uv-add-to-cart {
        transition: none;
    }
}


/* =========================================
   URBANVIBE SHOP FILTER CONTROLS
========================================= */

.uv-shop-controls {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) minmax(150px, 1fr) minmax(180px, 1fr);
    gap: 10px 16px;
    align-items: end;
    margin: 24px 0 30px;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 12px;
}

.uv-shop-controls label {
    display: block;
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

/* Search field */
.uv-shop-controls .uv-search-label {
    grid-column: 1;
    grid-row: 1;
}

#uv-product-search {
    grid-column: 1;
    grid-row: 2;
}

/* Category label and dropdown */
.uv-shop-controls label[for="uv-category-filter"] {
    grid-column: 2;
    grid-row: 1;
}

#uv-category-filter {
    grid-column: 2;
    grid-row: 2;
}

/* Sort label and dropdown */
.uv-shop-controls label[for="uv-sort-products"] {
    grid-column: 3;
    grid-row: 1;
}

#uv-sort-products {
    grid-column: 3;
    grid-row: 2;
}

/* Consistent field sizing */
.uv-shop-controls input,
.uv-shop-controls select {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 46px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid #d0d0d0;
    border-radius: 7px;
    background: #fff;
    color: #222;
    font: inherit;
}

.uv-shop-controls input:focus,
.uv-shop-controls select:focus {
    outline: 2px solid #b5ed00;
    outline-offset: 2px;
}

/* Tablet */
@media (max-width: 800px) {
    .uv-shop-controls {
        grid-template-columns: 1fr 1fr;
    }

    .uv-shop-controls .uv-search-label,
    #uv-product-search {
        grid-column: 1 / -1;
    }

    .uv-shop-controls .uv-search-label {
        grid-row: 1;
    }

    #uv-product-search {
        grid-row: 2;
    }

    .uv-shop-controls label[for="uv-category-filter"] {
        grid-column: 1;
        grid-row: 3;
    }

    #uv-category-filter {
        grid-column: 1;
        grid-row: 4;
    }

    .uv-shop-controls label[for="uv-sort-products"] {
        grid-column: 2;
        grid-row: 3;
    }

    #uv-sort-products {
        grid-column: 2;
        grid-row: 4;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .uv-shop-controls {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 14px;
    }

    .uv-shop-controls .uv-search-label,
    .uv-shop-controls label[for="uv-category-filter"],
    .uv-shop-controls label[for="uv-sort-products"],
    #uv-product-search,
    #uv-category-filter,
    #uv-sort-products {
        grid-column: 1;
    }

    .uv-shop-controls .uv-search-label {
        grid-row: 1;
    }

    #uv-product-search {
        grid-row: 2;
    }

    .uv-shop-controls label[for="uv-category-filter"] {
        grid-row: 3;
    }

    #uv-category-filter {
        grid-row: 4;
    }

    .uv-shop-controls label[for="uv-sort-products"] {
        grid-row: 5;
    }

    #uv-sort-products {
        grid-row: 6;
    }
}


/* UrbanVibe Shop - Buy Now Button */
.uv-buy-now {
    display: block;
    width: 100%;
    padding: 13px 20px;
    margin-top: 14px;

    background-color: #c6ff00;
    color: #171717;

    border: 2px solid #c6ff00;
    border-radius: 6px;

    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;

    cursor: pointer;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

/* Hover Effect */
.uv-buy-now:hover {
    background-color: #171717;
    color: #c6ff00;
    border-color: #171717;
    transform: translateY(-2px);
}

/* Keyboard Accessibility */
.uv-buy-now:focus-visible {
    outline: 3px solid #171717;
    outline-offset: 3px;
}

/* Click Effect */
.uv-buy-now:active {
    transform: translateY(0);
}

/* Mobile Touch Support */
@media (max-width: 480px) {
    .uv-buy-now {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* Space between sorting toolbar and product images */
.uv-shop-toolbar {
    margin-bottom: 24px;
}


/* Product count and sorting toolbar */
.uv-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding: 14px 18px;
    background: #f7f7f7;
    border-left: 4px solid #c6ff00;
    border-radius: 6px;
}

/* Product count: 3 Products */
.uv-shop-toolbar p,
.uv-shop-toolbar .uv-product-count {
    margin: 0;
    color: #171717;
    font-size: 15px;
    font-weight: 700;
}

/* Sort by dropdown */
.uv-shop-toolbar select {
    min-width: 170px;
    padding: 11px 36px 11px 14px;
    background-color: #ffffff;
    color: #171717;
    border: 1px solid #d5d5d5;
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.uv-shop-toolbar select:hover,
.uv-shop-toolbar select:focus {
    border-color: #171717;
    box-shadow: 0 0 0 3px rgba(198, 255, 0, 0.4);
}

/* Mobile layout */
@media (max-width: 480px) {
    .uv-shop-toolbar {
        gap: 10px;
        padding: 12px;
    }

    .uv-shop-toolbar p,
    .uv-shop-toolbar .uv-product-count {
        font-size: 13px;
    }

    .uv-shop-toolbar select {
        min-width: 0;
        max-width: 165px;
        width: 100%;
        padding: 10px;
        font-size: 13px;
    }
}


/* Women's Collection - Stylish Hero Section */
.uv-shop-header {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 65px 20px;
    margin-bottom: 30px;
    background: #171717;
    border-radius: 10px;
    isolation: isolate;
}

/* Decorative lime accent */
.uv-shop-header::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    top: -75px;
    right: -45px;
    background: #c6ff00;
    border-radius: 50%;
    opacity: 0.12;
    z-index: -1;
}

.uv-shop-header::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    bottom: -65px;
    left: -25px;
    border: 2px solid #c6ff00;
    border-radius: 50%;
    opacity: 0.5;
    z-index: -1;
}

/* Collection title */
.uv-shop-header h1 {
    margin: 0 0 16px;
    color: #ffffff;
    font-family: Georgia, serif;
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    text-transform: uppercase;
}

.uv-shop-header h1::after {
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    margin: 18px auto 0;
    background: #c6ff00;
    border-radius: 4px;
}

/* Tagline */
.uv-shop-header p {
    margin: 0;
    color: #d4d4d4;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1.5px;
    line-height: 1.7;
}

/* Mobile styling */
@media (max-width: 480px) {
    .uv-shop-header {
        padding: 45px 16px;
        border-radius: 7px;
    }

    .uv-shop-header p {
        font-size: 13px;
        letter-spacing: 1px;
    }
}

/* Keep all product images equal in size */
.uv-product-card img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
}

/* Consistent product card layout */
.uv-product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.uv-product-card > a {
    display: block;
    overflow: hidden;
}

/* Responsive image sizes */
@media (max-width: 768px) {
    .uv-product-card img {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .uv-product-card img {
        height: 200px;
    }
}


/* Wishlist heart button */
.uv-product-image-wrap {
    position: relative;
}


/* Wishlist heart button */
.uv-wishlist-button {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    padding: 0;

    background: #ffffff;
    color: #171717;
    border: 1px solid #e5e5e5;
    border-radius: 50%;

    font-size: 27px;
    line-height: 1;

    cursor: pointer;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

/* Hover effect */
.uv-wishlist-button:hover {
    background: #c6ff00;
    border-color: #c6ff00;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Lime-green badge for favourited products */
.uv-wishlist-button.is-active {
    background: #c6ff00;
    color: #171717;
    border-color: #c6ff00;
    box-shadow: 0 3px 10px rgba(198, 255, 0, 0.35);
}

/* Keyboard accessibility */
.uv-wishlist-button:focus-visible {
    outline: 3px solid #171717;
    outline-offset: 3px;
}

/* Touch devices */
@media (hover: none) {
    .uv-wishlist-button:hover {
        transform: none;
    }
}


/* =========================================
   RESPONSIVE SHOP PAGE FOOTER LAYOUT
   Women, Men, Accessories only
========================================= */

body.uv-shop-layout-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.uv-shop-layout-page > main {
    flex: 1 0 auto;
}