/* ==========================================================================
   Photo Gallery styling: sw_asset/css/gallery-style.css
   ========================================================================== */

.photo-gallery-wrapper {
    background-color: #111;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.photo-gallery-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 16px 24px;
    min-height: 260px;
}

.photo-gallery-hero img {
    width: 380px;
    max-width: 100%;
    border-radius: 6px;
    transition: opacity 0.3s ease;
}

.photo-gallery-hero-caption {
    margin-top: 14px;
    font-size: 12pt;
    color: #fff;
    text-align: center;
}

.photo-gallery-hero-caption a {
    color: #d0c0ff;
}

.photo-gallery-hero-caption i {
    font-size: 16px;
    color: #fff;
}

.photo-gallery-strip {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 12px 16px 16px;
    background-color: #1a1a1a;
    scroll-behavior: smooth;
}

.photo-gallery-strip::-webkit-scrollbar {
    height: 6px;
}

.photo-gallery-strip::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 3px;
}

.photo-gallery-strip::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 3px;
}

.photo-gallery-strip::-webkit-scrollbar-thumb:hover {
    background: #777;
}

.photo-gallery-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 170px;
    background: #222;
    border-radius: 8px;
    padding: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-gallery-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.photo-gallery-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    display: block;
}

.photo-gallery-card-debug {
    color: #888;
    font-size: 9px;
    word-break: break-all;
    text-align: center;
    padding: 0 4px;
}

.photo-gallery-card-actions {
    width: 100%;
    text-align: center;
}

.photo-gallery-purchase-btn {
    display: inline-block;
    width: 100%;
    padding: 6px 0;
    font-size: 10px;
    font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #c75f3e 0%, #a04a2f 100%);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.photo-gallery-purchase-btn:hover {
    background: linear-gradient(135deg, #a04a2f 0%, #7a3522 100%);
    transform: translateY(-1px);
}