/* Add here all your CSS customizations */


/* Header Initials CSS */
.avatar-circle {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    user-select: none;
}
/* MEDIA CENTER CSS */
/* Base thumbnail */
.thumbnail {
    position: relative;
    padding-bottom: 6px;
    border: 1px solid #5a6b51;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.5);
}

/* Overlay container */
.mg-thumb-options {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Checkbox (top-left, always visible) */
.mg-option {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.55);
    padding: 4px;
    border-radius: 4px;
    pointer-events: auto;
}

/* Remove label entirely */
.mg-option label {
    display: none;
}

/* Print dropdown (bottom-right, always visible) */
.mg-group {
    position: absolute;
    bottom: 8px;
    right: 8px;
    pointer-events: auto;
}

/* Button styling */
.mg-toggle {
    background: rgba(0,0,0,0.75);
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
}

/* Selected state */
.thumbnail.thumbnail-selected img {
    outline: 3px solid #0d6efd;
    outline-offset: -3px;
}

/* Title + meta tighter to thumbnail */
.mg-title {
    margin-top: 6px;
    margin-bottom: 0;
}

.mg-description {
    margin-top: 2px;
    font-size: 12px;
}

/* Clean checkbox */
.bw-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #0d6efd; /* modern browsers */
    margin-left: 3px;
    margin-top: 5px;
    z-index: 10;
}

#uploadList img {
    background: #f8f9fa;
}

.mobile-close::before,
.mobile-close::after {
    content: none !important;
}

/* FOOTER */
.site-footer {
    flex-shrink: 0;
    background: #1f2a33;
    color: #cfd8dc;
    font-size: 0.9rem;
}

.site-footer a {
    color: #9ecbff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Product Builder */
.product-slider {
    height: 180px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-slider img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: none;
}

.product-slider img:first-child {
    display: block;
}

.product-slider::after {
    content: "Click to view more";
    position: absolute;
    bottom: 6px;
    right: 8px;
    font-size: 11px;
    color: #777;
    opacity: 0.8;
}

.product-slider {
    position: relative;
}
.product-card {
    text-align: center;
}
.product-card .card-body {
    padding-top: 0.75rem;
}
/* Hide native number spinners ONLY where we want */
.no-spinner::-webkit-inner-spin-button,
.no-spinner::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spinner {
    -moz-appearance: textfield;
}
.qty-control {
    display: flex;
    align-items: center;
    gap: 6px;
}

.qty-control .qty-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #adb5bd;
    background: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.qty-control .qty-btn:hover {
    background: #f1f1f1;
}

.qty-control .qty-input {
    width: 60px;
    text-align: center;
}
/* Quantity control container */
.qty-control {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Quantity buttons */
.qty-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #6c757d;
    background: #fff;
    color: #333;
    font-size: 18px;
    line-height: 1;
    border-radius: 4px;
    cursor: pointer;
}

.qty-btn:hover {
    background: #f1f1f1;
}

/* Quantity input */
.qty-input {
    width: 50px;
    text-align: center;
    padding: 4px;
}

/* Kill native spinners everywhere this class is used */
.no-spinner::-webkit-inner-spin-button,
.no-spinner::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spinner {
    -moz-appearance: textfield;
}
/* Firefox-only patch */
@supports (-moz-appearance: none) {

    .qty-control {
        align-items: stretch;
    }

    .qty-input {
        height: 32px;
        line-height: 30px;
        padding: 0;
    }

    .qty-btn {
        line-height: 30px;
    }
}

.font-courier {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9rem;
    font-weight: bold;
}

/* PUBLIC PRODUCTS PAGE  */
.product-desc {
    max-height: 120px;
    overflow: hidden;
    position: relative;
}

.product-desc.expanded {
    max-height: none;
}

.read-more-btn {
    cursor: pointer;
    font-size: 0.9rem;
}