/* Customer Style Gallery Section */
.style-gallery-section {
    padding: 80px 0;
    background: #fff;
    overflow: hidden;
}

.style-gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #111;
    margin-bottom: 10px;
}

.gallery-header p {
    color: #666;
    font-size: 16px;
}

/* Carousel Outer */
.gallery-carousel-wrapper {
    position: relative;
    width: 100%;
}

.gallery-carousel-viewport {
    overflow: hidden;
    cursor: grab;
    width: 100%;
}

.gallery-carousel-viewport:active {
    cursor: grabbing;
}

.gallery-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

/* Review Card */
.gallery-card {
    flex: 0 0 33.333%;
    padding: 0 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.gallery-card-inner {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* Image Section */
.gallery-img-wrapper {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card-inner:hover .gallery-img-wrapper img {
    transform: scale(1.05);
}

.gallery-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.gallery-rating {
    display: flex;
    gap: 2px;
}

.gallery-rating span {
    color: #f1c40f;
    font-size: 14px;
}

/* Info Section */
.gallery-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gallery-comment {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-style: italic;
}

.gallery-user {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gallery-user-name {
    font-weight: 600;
    font-size: 14px;
    color: #111;
}

.gallery-verified {
    font-size: 11px;
    color: #27ae60;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Footer Button */
.gallery-footer {
    padding: 0 24px 24px;
}

.gallery-view-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #111;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.gallery-view-btn:hover {
    background: #333;
}

/* Navigation Arrows */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    color: #111;
}

.gallery-nav-btn:hover {
    background: #111;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.gallery-nav-btn.prev { left: -24px; }
.gallery-nav-btn.next { right: -24px; }

.gallery-nav-btn svg {
    width: 20px;
    height: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .gallery-card { flex: 0 0 50%; }
    .gallery-header h2 { font-size: 30px; }
}

@media (max-width: 768px) {
    .style-gallery-section { padding: 50px 0; }
    .gallery-card { flex: 0 0 100%; }
    .gallery-nav-btn { display: none; }
    .gallery-card-inner { border-radius: 16px; }
    .gallery-header h2 { font-size: 26px; }
}
