.cd-wrapper { max-width: 100%; margin: 0 auto; padding: 20px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }

/* Header & Filters */
.cd-header-bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; margin-bottom: 30px; flex-wrap: wrap; gap: 20px; }
.cd-bar-title { margin: 0; font-size: 20px; text-transform: uppercase; letter-spacing: 2px; font-weight: 400; color: #666; }
.cd-filters-right { display: flex; align-items: center; }
.cd-select-wrap { position: relative; display: inline-block; margin-left: 20px; }
.cd-select-wrap::before { content: '|'; position: absolute; left: -12px; top: 50%; transform: translateY(-50%); color: #ccc; font-weight: 300; }
.cd-select-wrap:first-child::before { display: none; }
.cd-filter-select, .cd-sort-select { appearance: none; -webkit-appearance: none; background: transparent; border: none; padding: 5px 20px 5px 0; font-size: 15px; text-transform: capitalize; cursor: pointer; color: #333; outline: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right center; }
@media (max-width: 768px) {
    .cd-header-bar { flex-direction: column; align-items: flex-start; }
    .cd-filters-right { flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; }
    .cd-select-wrap { margin-left: 0; display: block; width: 100%; border-bottom: 1px solid #eee; padding: 5px 0; }
    .cd-select-wrap::before { display: none; }
    .cd-filter-select, .cd-sort-select { width: 100%; }
}

/* Grid */
.cd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2px; transition: opacity 0.3s; }
.cd-item { position: relative; cursor: pointer; overflow: hidden; }
.cd-item img { width: 100%; height: 380px; display: block; transition: transform 0.5s; }
.cd-item:hover img { transform: scale(1.05); }
.cd-overlay { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); color: #fff; padding: 20px 10px; opacity: 0; transition: opacity 0.3s; text-align: center; text-transform: uppercase; letter-spacing: 1px; }
.cd-item:hover .cd-overlay { opacity: 1; }

/* Modal */
.cd-modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.8); overflow-y: auto; }
.cd-modal-content { background-color: #fefefe; margin: 5% auto; padding: 0; border: none; width: 90%; max-width: 900px; position: relative; box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.cd-close { color: #000; float: right; font-size: 28px; font-weight: bold; position: absolute; right: 15px; top: 5px; cursor: pointer; z-index: 10; }
.cd-popup-split { display: flex; flex-direction: column; }
@media(min-width: 768px) { .cd-popup-split { flex-direction: row; height: 600px; } }

.cd-popup-left { flex: 1; background: #000; overflow: hidden; display:flex; align-items:center; justify-content:center; }
.cd-popup-left img { width: 100%; height: 100%; object-fit: cover; }
.cd-popup-right { flex: 1; padding: 40px; overflow-y: auto; text-align: left; }
.cd-popup-right h2 { font-family: 'Georgia', serif; font-size: 32px; margin-bottom: 20px; font-weight: normal; }
.cd-desc { font-size: 14px; line-height: 1.6; color: #333; margin-bottom: 30px; }
.cd-section { margin-bottom: 25px; }
.cd-section h4 { margin: 0 0 10px 0; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #888; }

/* FIX: Event Row Alignment */
.cd-event-row { display: flex; align-items: center; gap: 15px; }
.cd-event-logo { width: 150px; height: auto; flex-shrink: 0; display: block; }
.cd-event-text { font-size: 16px; line-height: 1.2; color: #333; font-weight: 400; margin-top: 2px; }

.cd-flex-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cd-prod-thumb { width: 100px; height: auto; display: block; margin-bottom: 10px; }
.cd-btn { background: #000; color: #fff; text-decoration: none; padding: 12px 24px; text-transform: uppercase; font-size: 12px; letter-spacing: 2px; display: inline-block; transition: background 0.3s; }
.cd-btn:hover { background: #333; color: #fff; }
.cd-loader { padding: 40px; text-align: center; }

/* Load More Button */
.cd-load-more-wrap {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 40px;
    width: 100%;
    clear: both;
}

.cd-load-more-btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: inline-block;
}

.cd-load-more-btn:hover {
    background-color: #333;
}