/* ============================================
   SWEETAGS - Módulos
   Lojista 1
   ============================================ */

/* ============================================
   Módulo: Formato de Exibição das Fotos
   ============================================ */

/* SWEETAGS - Modo Grid */
@media (min-width: 768px) {
    .st-grid-slider .swiper-wrapper {
        display: flex;
        flex-wrap: wrap;
        transform: none; /* desativa o Swiper só no desktop */
    }
    .st-grid-slider .swiper-slide {
        width: 50%;
        margin-bottom: 8px;
    }
}

/* Mobile: Swiper funciona normalmente, sem interferência */
@media (max-width: 767px) {
    .st-grid-slider .swiper-wrapper {
        flex-wrap: nowrap;
    }
    .st-grid-slider .swiper-slide {
        width: 100%;
        min-width: 100%;
    }
}

/* SWEETAGS - Modo Full */

/* Efeito 1.5 */
.st-full-wrapper {
    overflow: hidden;
    padding-right: 15%;
}
.st-full-slider {
    overflow: visible;
}

/* Setas desktop */
.st-full-nav {
    gap: 8px;
}
.st-full-btn {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 0;
    background: #fff;
    transition: background 0.2s ease;
}
.st-full-btn:hover {
    background: #f5f5f5;
}
.st-full-btn::after {
    display: none;
}

/* Bullets slim mobile */
.st-full-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px 0 4px;
    position: relative;
    bottom: auto;
}
.st-full-pagination .swiper-pagination-bullet {
    width: 20px;
    height: 3px;
    border-radius: 2px;
    background: #ccc;
    opacity: 1;
    transition: width 0.3s ease, background 0.3s ease;
    margin: 0;
}
.st-full-pagination .swiper-pagination-bullet-active {
    width: 36px;
    background: #333;
}

/* ============================================
   Módulo: Quem Usa & Recomenda
   ============================================ */

:root {
    --sweetags-wu-accent: #660000;
    --sweetags-wu-bg: #0a0a0a;
}

.st-wu-section {
    background: var(--sweetags-wu-bg);
    color: #fff;
    padding: 64px 0;
}

.st-wu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.st-wu-eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sweetags-wu-accent);
    margin-bottom: 8px;
}

.st-wu-heading {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 48px;
    color: #fff;
}

.st-wu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

@media (max-width: 768px) {
    .st-wu-grid {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

.st-wu-card {
    display: flex;
    flex-direction: column;
    background: #111;
}

.st-wu-photo {
    aspect-ratio: 3 / 4;
    background-size: cover;
    background-position: center;
    position: relative;
}

.st-wu-photo-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    text-align: left;
}

.st-wu-name {
    display: block;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}

.st-wu-role {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-top: 2px;
}

.st-wu-quote {
    padding: 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    border-left: 3px solid var(--sweetags-wu-accent);
    margin: 12px 16px;
    text-align: left;
    line-height: 1.6;
}

.st-wu-cta {
    background: none;
    border: none;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 12px 16px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.st-wu-cta:hover {
    color: var(--sweetags-wu-accent);
}

.st-wu-arrow {
    transition: transform 0.2s;
}

.st-wu-cta:hover .st-wu-arrow {
    transform: translateX(4px);
}

/* Overlay / Modal */
.st-wu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.st-wu-overlay.st-wu-active {
    display: flex;
}

.st-wu-modal {
    background: #111;
    color: #fff;
    width: 90%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border-radius: 4px;
}

.st-wu-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 1;
    line-height: 1;
}

.st-wu-modal-hero {
    aspect-ratio: 16 / 7;
    background-size: cover;
    background-position: center top;
    position: relative;
}

.st-wu-modal-hero-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}

.st-wu-modal-body {
    padding: 20px;
}

.st-wu-modal-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    line-height: 1.6;
}

.st-wu-loading {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 24px 0;
}

.st-wu-products {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.st-wu-product {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #1a1a1a;
    padding: 12px;
    border-radius: 4px;
}

.st-wu-product-img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.st-wu-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.st-wu-product-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.st-wu-product-price {
    font-size: 13px;
    color: var(--sweetags-wu-accent);
}

.st-wu-product-btn {
    font-size: 12px;
    color: #fff;
    background: var(--sweetags-wu-accent);
    padding: 6px 12px;
    border-radius: 2px;
    text-decoration: none;
    display: inline-block;
    margin-top: 4px;
    transition: opacity 0.2s;
}

.st-wu-product-btn:hover {
    opacity: 0.85;
}


.st-fg-section {
    width: 100%;
    overflow: hidden;
}

.st-fg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2px;
    min-height: 600px;
}

/* COLUNAS */
.st-fg-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Produto */
.st-fg-product {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #f5f5f5;
    overflow: hidden;
    position: relative;
    min-height: 280px;
}

.st-fg-product-img {
    flex: 1;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.st-fg-product:hover .st-fg-product-img {
    transform: scale(1.04);
}

.st-fg-product-info {
    padding: 14px 16px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.st-fg-product-name {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.st-fg-product-price {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Banner */
.st-fg-banner {
    flex: 1;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    background: #1a1a1a;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    transition: opacity 0.3s ease;
}

.st-fg-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    transition: opacity 0.3s ease;
}

.st-fg-banner:hover::after {
    opacity: 0.8;
}

.st-fg-banner-content {
    position: relative;
    z-index: 1;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.st-fg-banner-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.st-fg-banner-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.st-fg-banner-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 4px;
}

.st-fg-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 4px;
    padding: 7px 14px;
    margin-top: 8px;
    width: fit-content;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.st-fg-banner:hover .st-fg-banner-btn {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.8);
}

/* Col full height (banner ocupa tudo) */
.st-fg-col--banner .st-fg-banner {
    flex: 1;
    min-height: 100%;
}

/* Mobile — tudo empilhado */
@media (max-width: 767px) {
    .st-fg-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .st-fg-product,
    .st-fg-banner {
        min-height: 220px;
    }

    .st-fg-product-img {
        min-height: 180px;
    }
}