/* ------------------------------------------------------------
   Brand Card Component (.shop-brand-card)
   ------------------------------------------------------------ */
.shop-brand-card {
    display: flex;
    flex-direction: column;
}

.shop-brand-thumb {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    display: block;
}

.shop-brand-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.shop-brand-card:hover .shop-brand-thumb img {
    transform: scale(1.04);
}

.shop-brand-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 16px;
}

.shop-brand-name {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.btn-shop-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    border: 1px solid #adb1b7;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-shop-now:hover {
    border-color: #000000;
    background-color: #000000;
    color: #ffffff;
}

/* ------------------------------------------------------------
   Product Card Component (.brand-product-card)
   ------------------------------------------------------------ */
.brand-product-card {
    display: flex;
    flex-direction: column;
    position: relative;
}

.brand-product-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    position: relative;
    margin-bottom: 16px;
    text-decoration: none;
}

.brand-product-img-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.35s ease, opacity 0.35s ease;
    display: block;
}

.brand-product-img-wrap .brand-product-img-primary {
    position: relative;
    z-index: 1;
}

.brand-product-img-wrap .brand-product-img-secondary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    z-index: 2;
    pointer-events: none;
}

.brand-product-card:hover .brand-product-img-wrap img {
    transform: scale(1.05);
}

.brand-product-card:hover .brand-product-img-wrap .brand-product-img-secondary {
    opacity: 1;
}

/* Out of stock overlay */
.brand-product-card--out-of-stock .brand-product-img-wrap img {
    opacity: 0.55;
    filter: grayscale(30%);
}

.brand-product-sold-out-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
}

.brand-product-sold-out-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.brand-product-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-product-brand-tags {
    display: flex;
    flex-direction: column;
    margin-bottom: 4px;
    line-height: 1.25;
}

.brand-tag-artist {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #111111;
}

.brand-tag-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #111111;
}

.brand-product-title {
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.4;
    color: #222222;
    margin: 0 0 8px 0;
}

.brand-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.brand-product-title a:hover {
    color: #000000;
    text-decoration: underline;
}

.brand-product-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.brand-product-price {
    font-size: 15px;
    font-weight: 700;
    color: #111111;
    letter-spacing: 0.2px;
}

.brand-product-info del {
    font-size: 13px;
    color: #888888;
}

@media (max-width: 576px) {
    .brand-product-title {
        font-size: 12.5px;
    }

    .brand-product-price {
        font-size: 13px;
    }
}
