@charset "utf-8";

/* ========================================
   A-Picker Filter Section
   ======================================== */
.filter-section {
    margin: 20px;
}

.filter-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000;
}

.filter-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* ========================================
   Content Grid & Card Layout
   ======================================== */
.content-grid {
    transition: all 0.5s;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.content-grid.transitioning {
    opacity: 0.4;
    transform: translateY(0) scale(0.98);
}

.snap-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.snap-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.snap-card.hiding {
    transform: scale(0.8);
    opacity: 0;
}

.snap-card.hidden {
    display: none;
}

/* ========================================
   Snap Card Components
   ======================================== */
.snap-cover {
    position: relative;
}

.snap-cover .img {
    display: block;
    width: 100%;
}

.snap-image {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    text-indent: -9999px;
    border-radius: 12px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.snap-info {
    padding: 20px;
}

.snap-title {
    display: inline-block;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.snap-tail {
    display: inline-block;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 8px;
}

.snap-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.snap-tags .tag {
    font-size: 12px;
    padding: 4px 8px;
    background: #f1f3f5;
    color: #666;
    border-radius: 12px;
}

.snap-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #999;
}

/* ========================================
   Floating Action Button
   ======================================== */
.floating-action {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.floating-action:hover {
    transform: scale(1.1);
}

/* ========================================
   Modal Overlay & Container
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    display: none;
}

.modal-overlay.show {
    opacity: 1;
}

.modal-container {
    background: #fff;
    max-width: 480px;
    min-width: 420px;
    width: 90%;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-container {
    transform: scale(1);
}

/* ========================================
   Modal Header
   ======================================== */
.modal-header {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #efefef;
    gap: 12px;
}

.modal-profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #6626bb 0%, #b451ef 25%, #5625d1 50%, #6c23cc 75%, #30009f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
    overflow: hidden;
}

.modal-profile-pic img {
    width: 100%;
}

.modal-profile-info {
    flex: 1;
}

.modal-username {
    font-weight: 600;
    font-size: 14px;
    color: #262626;
    margin-bottom: 2px;
}

.modal-modelInfo {
    font-size: 11px;
    color: #8e8e8e;
}

/* ========================================
   Modal Image Section
   ======================================== */
.modal-image-section {
    position: relative;
    overflow: hidden;
}

.modal-image-section .dimmArea {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.modal-image-section .dimmArea.hide {
    bottom: -140px;
}

.modal-image-section .dimmArea .dimm {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background: #000;
    z-index: 1;
    opacity: 0.4;
}

/* ========================================
   Modal Sidebar
   ======================================== */
.modal-sidebar {
    padding: 16px;
    color: #000;
    font-size: 13px;
}

.modal-sidebar .hashtag a {
    color: #601986;
}

/* ========================================
   Product Item (Modal)
   ======================================== */
.product-item {
    width: 100%;
}

.product-item .list {
    margin: 0;
    width: calc(100% - 40px);
    margin: 0 20px;
}

.product-item .list .item {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
}

.product-item .list .item a {
    position: relative;
}

.product-item .list .item a .img {
    width: 80px;
    margin: 0;
}

.product-item .list .item .wish {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    overflow: hidden;
    width: 14px;
    height: 13px;
    text-indent: -9999px;
    background: url(../imgs/global/list_wish.png?v=1) center center no-repeat;
    background-size: contain;
}

.product-item .list .item .wish.active {
    background: url(../imgs/global/list_wish_on.png) center center no-repeat;
    background-size: contain;
}

.product-item .list .item .text {
    display: block;
    margin-left: 20px;
    font-size: 13px;
    color: #fff;
    z-index: 1;
}

.product-item .list .item .text span {
    display: block;
}

.product-item .list .item .text span + span {
    margin-top: 10px;
}

.product-item .list .item .text span del {
    margin-left: 10px;
    color: #ccc;
    font-size: 12px;
}

/* ========================================
   Swiper Components
   ======================================== */
.swiper-slide img {
    width: 100%;
    cursor: pointer;
}