/* ================================
   ADMIN MODAL
================================ */
.ugc2-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.65);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:99999;
}

.ugc2-modal.show{
    display:flex;
}

.ugc2-modal-box{
    background:#fff;
    width:100%;
    max-width:520px;
    padding:25px 30px;
    border-radius:8px;
    position:relative;
    box-shadow:0 20px 40px rgba(0,0,0,.25);
    animation:ugc2Zoom .25s ease;
}

@keyframes ugc2Zoom{
    from{transform:scale(.9);opacity:0}
    to{transform:scale(1);opacity:1}
}

.ugc2-modal h2{
    margin:0 0 20px;
    font-size:22px;
}

.ugc2-close{
    position:absolute;
    top:15px;
    right:18px;
    font-size:26px;
    cursor:pointer;
    color:#444;
}

.ugc2-modal input[type=text]{
    width:100%;
    padding:10px 12px;
    border:1px solid #ccd0d4;
    border-radius:4px;
}

.ugc2-modal img{
    margin-top:10px;
    border-radius:6px;
    border:1px solid #ddd;
}

/* ================================
   ADMIN TABLE
================================ */
.widefat td img{
    border-radius:6px;
    max-width:120px;
    height:auto;
}

/* ================================
   FRONTEND SLIDER
================================ */
.ugc2-slider{
    overflow:hidden;
}

.ugc2-track{
    display:flex;
    gap:25px;
    transition:transform .5s ease;
}

.ugc2-card{
    min-width:260px;
    background:#fff;
    border-radius:12px;
    padding:20px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.ugc2-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:10px;
    margin-bottom:15px;
}
.ugc2-img {
	background: #f3eee8;
	padding: 20px;
}
.ugc2-card h4{
    margin:0;
    font-size:18px;
    font-weight:600;
	color: #000;
}
.ugc2-card h3 {
	text-align: center;
	color: #e10600;
	font-size: 22px;
	margin-bottom: 16px;
}

.ugc2-card p{
    margin:5px 0 0;
    color:#666;
    font-size:14px;
}

.ugc2-info {
    position: absolute;
    bottom: 0;
    background: #fff;
    padding: 16px 20px;
    font-size: 14px;
    transform: translateY(100%);
    transition: transform .35s ease;
    border-top: 1px solid #ddd;
    width: 240px;
}
.ugc2-info p {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px dashed #c7b299;
	padding: 6px 0;
}
/* ================================
   ARROWS
================================ */

.ugc2-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #e10600;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 12px 16px 19px 18px;
    line-height: 12px;
}
.ugc2-prev{ left:0; }
.ugc2-next{ right:0; }

.ugc2-arrow:hover{
    background:#333;
}

/* ================================
   DOTS
================================ */
.ugc2-dots{
    display:flex;
    justify-content:center;
    margin-top:25px;
    gap:10px;
}

.ugc2-dots span{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c7b299;
    cursor: pointer;
    transition: .3s;
}

.ugc2-dot.active{
  background:#7a0000 !important;
  transform:scale(1.2);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width:768px){
    .ugc2-slider-wrap{ padding:0 30px; }
    .ugc2-card{ min-width:240px; }
}

@media (max-width:480px){
    .ugc2-slider-wrap{ padding:0 15px; }
    .ugc2-card img{ height:180px; }
}