/****** PLACE YOUR CUSTOM STYLES HERE ******/

.background-image-holder {
    position: absolute;
    inset: 0;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.btn-primary {
    background-color: #8c6b4f;
    border-color: #8c6b4f;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #73563f;
    border-color: #73563f;
}

.logout-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.carousel-slide {
    position: relative;
}

.carousel-overlay-link {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 10;
    color: #ffd54f;
    font-size: 38px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    background: rgba(0,0,0,0.35);
    padding: 15px 20px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

/* Mobile */
@media (max-width: 767px) {
    .carousel-overlay-link {
        font-size: 14px;
        padding: 8px 12px;
        top: 20px;
        right: 20px;
    }
}

.carousel-overlay-link:hover {
    color: white;
    background: rgba(0,0,0,0.55);
}

.carousel-slide,
.carousel-slide-link {
    display: block;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: relative;
}

.carousel-slide-link {
    position: absolute;
    inset: 0;
    z-index: 10;
}

/* Store CSS */
.store-product-row {
    display: flex;
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    min-height: 220px;
}

.store-product-row-image {
    width: 280px;
    min-width: 280px;
    margin-right: 24px;
}

.store-product-row-image img {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.store-no-image {
    height: 180px;
    background: #eee;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-product-row-body {
    display: flex;
    flex-direction: column;
}

.store-product-row-title {
    display: block;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.store-product-row-summary {
    font-size: 15px;
    margin-bottom: 16px;
    color: #555;
}

.store-product-row-price {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: auto;
}

.store-product-row-title {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
}

.store-product-row-title:hover {
    text-decoration: underline;
}

/* Store Detail page */

.store-detail-page {
    background: #f6f3ef;
    padding: 2rem 0;
}

.store-breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

    .store-breadcrumb a {
        text-decoration: none;
    }

    .store-breadcrumb span {
        margin: 0 0.25rem;
        color: #777;
    }

.store-detail-card {
    background: #fff;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 2rem;
    padding: 2rem;
    border-radius: 12px;
}

.store-detail-image-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.store-detail-main-image {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
}

.store-detail-image-placeholder {
    width: 100%;
    height: 420px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

.store-detail-category {
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.store-detail-info h1 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.store-detail-short-description {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.store-detail-price {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.store-detail-compare-price {
    color: #888;
    text-decoration: line-through;
    margin-bottom: 1rem;
}

.store-detail-description {
    margin: 1.5rem 0;
    line-height: 1.6;
}

.store-detail-quantity {
    max-width: 120px;
}

@media (max-width: 768px) {
    .store-detail-card {
        grid-template-columns: 1fr;
    }
}

.store-detail-header {
    margin-bottom: 1.5rem;
    margin-top: -50px;
}

.store-breadcrumb {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

    .store-breadcrumb a {
        color: #333;
        text-decoration: none;
    }

        .store-breadcrumb a:hover {
            text-decoration: underline;
        }

    .store-breadcrumb span {
        margin: 0 0.35rem;
        color: #777;
    }

.store-detail-category-heading {
    font-size: 1.75rem;
    font-weight: 600;
    color: #222;
}

.store-detail-info h1 {
    margin-top: 0;
}

.store-detail-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

    .store-detail-thumbnails a {
        display: block;
    }

.store-detail-thumbnail {
    width: 85px;
    height: 85px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 6px;
}

    .store-detail-thumbnail.active {
        border-color: #9d7b5b;
    }

    .store-detail-thumbnail.active {
        border-color: #9d7b5b;
    }

    .store-detail-thumbnail:hover {
        border-color: #999;
    }

.cart-summary-link {
    position: relative;
    display: inline-block;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 16px;
}

.cart-summary-count {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #222;
    color: white;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
}

.account-manage-nav li {
    margin-bottom: 1.25rem;
}

.account-manage-nav a,
.account-manage-nav button.account-nav-link {
    display: block;
    padding: 10px 15px 15px 10px;
    margin: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    text-align: left;
    text-decoration: none;
    letter-spacing: normal;
    text-transform: none;
    cursor: pointer;
}

.account-manage-nav form {
    margin: 0;
}