/* Trending product cards ---------------------------------------------*/
.trending-card .trending-img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.trending-card:hover .trending-img {
    transform: scale(1.05);
}

.trending-card .overflow-hidden::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/imgs/riverrock-tshirt.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 1;
}

.trending-card:hover .overflow-hidden::after {
    opacity: 1;
    transform: scale(1.05);
}

/* "New!" badge */
.badge-new {
    top: 10px;
    right: 10px;
    background: var(--tertiary);
    color: var(--dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 20px;
    z-index: 2;
    font-family: Poppins, sans-serif;
}

/* Color swatches */
.color-square {
    display: inline-block;
    width: 17px;
    height: 17px;
    border-radius: 3%;
    border: 1.5px solid rgba(255,255,255,0.6);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.18);
    flex-shrink: 0;
}

/* Category tiles */
.category-tile img {
    transition: transform 0.4s ease;
}

.category-tile:hover img {
    transform: scale(1.07);
}

/* Accordion customization ---------------------------------------------- */
.accordion-item {
    border: none;
    border-bottom: 1px solid var(--Colors-Mid-Gray, #89857A);
    border-radius: 0 !important;
}

.accordion-body {
    border-top: 1px solid var(--Colors-Mid-Gray, #89857A);
}

.accordion-button {
    border-radius: 0 !important;
    box-shadow: none !important;
    padding-left: 0;
}

/* Design card hover effects --------------------------------------------- */
.design-card {
    overflow: hidden;
}

.design-card img {
    transition: transform 0.4s ease;
}

.design-card:hover img {
    transform: scale(1.07);
}

.design-btn {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.design-card:hover .design-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* for filling page to put footer at the bottom on pages with little content */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > .page-content {
    flex: 1 0 auto;
}
