/* ==============================
   Brickoleur — Customer Styles
   ============================== */

/* Hero Section */
.hero-section {
    background-color: var(--bk-red);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.hero-section h1 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-section .btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
    border-radius: var(--bk-radius);
    transition: transform 0.15s, box-shadow 0.15s;
}

.hero-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-hero-primary {
    background-color: var(--bk-yellow);
    color: var(--bk-text);
    border: none;
}

.btn-hero-primary:hover {
    background-color: #e6c200;
    color: var(--bk-text);
}

.btn-hero-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-hero-secondary:hover {
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Section Headings */
.section-heading {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    color: #263d38;
    margin-bottom: 1.25rem;
    position: relative;
    display: inline-block;
}

.section-heading::after {
    content: '';
    display: block;
    width: 3rem;
    height: 4px;
    background-color: #f27b62;
    border-radius: 2px;
    margin-top: 0.5rem;
}

/* Product Cards (Sets & Bricks) */
.product-card {
    border: 2px solid #263d3810;
    border-radius: 1.35rem;
    box-shadow: 0 8px 24px rgba(38, 61, 56, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
    height: 100%;
    background: #fff;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(38, 61, 56, 0.12);
}

.product-card .card-img-top {
    height: 180px;
    object-fit: contain;
    padding: 1rem;
    background-color: #fff7e7;
}

.product-card .card-body {
    padding: 1.2rem 1.25rem 1.3rem;
}

.product-card .card-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .card-subtitle {
    font-size: 0.85rem;
    color: #71807a;
    margin-bottom: 0.5rem;
}

.product-card .piece-count {
    font-size: 0.85rem;
    color: #71807a;
}

.product-card .price {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: #285d50;
}

.product-card .btn {
    border-radius: 0.85rem;
    font-weight: 600;
}

/* Status Badges */
.badge-available {
    background-color: #b6dfcf;
    color: #263d38;
}

.badge-reserved {
    background-color: #ffda63;
    color: #263d38;
}

.badge-rented {
    background-color: #f27b62;
    color: #fff;
}

.badge-in-stock {
    background-color: var(--bk-green);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.3em 0.6em;
    border-radius: var(--bk-radius-sm);
}

.badge-low-stock {
    background-color: var(--bk-yellow);
    color: var(--bk-text);
    font-size: 0.75rem;
    padding: 0.3em 0.6em;
    border-radius: var(--bk-radius-sm);
}

.badge-out-of-stock {
    background-color: #dc3545;
    color: #fff;
    font-size: 0.75rem;
    padding: 0.3em 0.6em;
    border-radius: var(--bk-radius-sm);
}

/* Bricklink CTA Banner */
.bricklink-banner {
    background: #e0f2e7;
    color: #263d38;
    border: 2px solid #263d3810;
    border-radius: 1.5rem;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.bricklink-banner h5 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.bricklink-banner p {
    margin-bottom: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.bricklink-banner .btn {
    background-color: #263d38;
    color: #fff;
    border: none;
    font-weight: 700;
    border-radius: 0.85rem;
    padding: 0.5rem 1.5rem;
}

.bricklink-banner .btn:hover {
    background-color: #285d50;
}

/* Customer Page Sections */
.customer-section {
    padding: 3rem 0;
}

.customer-section:nth-child(even) {
    background-color: var(--bk-bg-light);
}

/* About Section */
.about-section {
    padding: 3rem 0;
    background-color: #fff;
}

.about-section p {
    font-size: 1.1rem;
    color: var(--bk-text-muted);
    line-height: 1.7;
}

/* Search & Filter */
.search-bar {
    border-radius: 0.9rem;
    border: 1px solid #d5dfd9;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.search-bar:focus {
    border-color: #72b89e;
    box-shadow: 0 0 0 0.2rem rgba(114, 184, 158, 0.2);
}

.filter-select {
    border-radius: 0.9rem;
    border: 1px solid #d5dfd9;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    padding-left: 1.2rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.filter-select:focus {
    border-color: #72b89e;
    box-shadow: 0 0 0 0.2rem rgba(114, 184, 158, 0.2);
}

/* Reserve Modal Overrides */
.modal-content {
    border-radius: 1.4rem;
    border: 2px solid #263d3810;
    box-shadow: 0 18px 50px rgba(38, 61, 56, 0.18);
}

.modal-header {
    border-bottom: 1px solid #263d3812;
}

.modal-footer {
    border-top: 1px solid #263d3812;
}

/* Pagination */
.customer-pagination .btn {
    border-radius: 0.8rem;
    font-weight: 600;
}

/* Image fallback */
.img-placeholder {
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 2rem;
    height: 200px;
    border-radius: var(--bk-radius) var(--bk-radius) 0 0;
}

.product-card .product-image-placeholder {
    width: 100%;
    height: 180px;
}

.modal-image-placeholder {
    width: 100px;
    height: 100px;
    margin: auto;
}
