@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root{
    --az-orange:#ff6a00;
    --az-orange-2:#ff8b3d;
    --az-cyan:#35cfc1;
    --az-dark:#121826;
    --az-soft:#f5f7fb;
    --az-line:#e6ebf3;
    --az-line-2:#dce4ef;
    --az-muted:#667085;
    --az-brown:#6f4e37;
    --az-brown-2:#53392a;
    --az-aqua:#e8fbfb;
    --az-shadow:0 10px 24px rgba(16,24,40,.06);
    --az-shadow-soft:0 4px 14px rgba(16,24,40,.05);
    --az-container:1420px;
}

/* Fonte principal */
.azShopWrap, .azShopWrap * {
    box-sizing: border-box;
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Garante Poppins também FORA do .azShopWrap (menus e modais fixos) */
.azPostMenu, .azPostMenu *,
.azViewModal, .azViewModal *,
.azShareModal, .azShareModal *,
.azEditModal, .azEditModal *,
.azPolicyModal, .azPolicyModal *,
.azStoreSettingsModal, .azStoreSettingsModal *{
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
    box-sizing: border-box;
}

.azShopWrap{
    max-width: var(--az-container);
    margin: 16px auto 40px;
    padding: 0 14px;
    color:#101828;
}

.azDemoBadge{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:6px 10px;
    border-radius:999px;
    font-size:11px;
    font-weight:600;
    color:#7a450c;
    background:#fff4e7;
    border:1px solid #ffd7b3;
    line-height:1;
}

/* ================= CAPA ================= */
.azHero{
    position:relative;
    border:1px solid var(--az-line-2);
    border-radius:22px;
    overflow:hidden;
    min-height:400px;
    background:#e8edf5;
    box-shadow: var(--az-shadow);
}

.azHero img{
    width:100%;
    height:400px;
    object-fit:cover;
    display:block;
}

.azHeroOverlay{
    position:absolute;
    inset:0;
    background:
      linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35)),
      radial-gradient(circle at 15% 20%, rgba(53,207,193,.14), transparent 46%),
      radial-gradient(circle at 85% 20%, rgba(255,106,0,.14), transparent 42%);
    pointer-events:none;
}

.azHeroTop{
    position:absolute;
    top:12px;
    left:12px;
    right:12px;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.azHeroChip{
    padding:8px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:600;
    color:#fff;
    background:rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(10px);
}

.azHeroBottomTitle{
    position:absolute;
    left:18px;
    bottom:16px;
    z-index:2;
    color:#fff;
}
.azHeroBottomTitle h2{
    margin:0;
    font-size:34px;
    line-height:1;
    font-weight:700;
    letter-spacing:-.3px;
}

/* ================= INFO LOJA ================= */
.azStoreInfo{
    position:relative;
    padding-top: 18px;
    padding-bottom: 14px;
    border-bottom:1px solid var(--az-line);
    background:#fff;
}

.azStoreInfoInner{
    position:relative;
    padding-left: 205px;
    min-height: 165px;
}

.azAvatar{
    position:absolute;
    left:0;
    top:-96px;
    width:180px;
    height:180px;
    border-radius:999px;
    overflow:hidden;
    border:4px solid #fff;
    background:#eef2f7;
    box-shadow: 0 8px 22px rgba(0,0,0,.12);
    z-index:3;
}

.azAvatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.azAvatarDot{
    position:absolute;
    right:8px;
    bottom:10px;
    width:18px;
    height:18px;
    border-radius:50%;
    background:#22c55e;
    border:2px solid #fff;
    box-shadow:0 0 0 4px rgba(34,197,94,.14);
}

.azInfoTop{
    display:grid;
    grid-template-columns: 1fr auto;
    gap:16px;
    align-items:start;
}

.azStoreName{
    margin:0;
    font-size:31px;
    line-height:1.05;
    font-weight:700;
    color:#111827;
    letter-spacing:-.25px;
}

.azMetaRow{
    margin-top:8px;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
}

.azPill{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:7px 11px;
    border-radius:999px;
    border:1px solid var(--az-line-2);
    background:#fff;
    font-size:12px;
    font-weight:500;
    color:#344054;
    line-height:1;
}

button.azPill{
    cursor:pointer;
}

.azPill.soft { background:#f8fafc; }
.azPill.orange { background:rgba(255,106,0,.07); color:#b45103; border-color:rgba(255,106,0,.18); }
.azPill.cyan { background:rgba(53,207,193,.08); color:#0f766e; border-color:rgba(53,207,193,.2); }

.azStoreDesc{
    margin:10px 0 0;
    color:#344054;
    line-height:1.45;
    font-size:14px;
    font-weight:400;
    max-width:760px;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.azActions{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.azBtn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 16px;
    border-radius:14px;
    border:1px solid var(--az-line-2);
    background:#fff;
    color:#1f2937;
    text-decoration:none;
    font-size:14px;
    font-weight:500;
    letter-spacing:.01em;
    box-shadow: var(--az-shadow-soft);
    transition:.16s ease;
    white-space:nowrap;
    cursor:pointer;
}

.azBtn:hover{
    transform:translateY(-1px);
    box-shadow: 0 8px 18px rgba(16,24,40,.08);
}

.azBtnPrimary{
    background:linear-gradient(135deg, var(--az-orange), var(--az-orange-2));
    color:#fff;
    border-color:transparent;
    font-weight:600;
}

.azBtnGhost{
    background:#f8fafc;
    color:#111827;
}

.azBtnOutlineBrown{
    border-color: rgba(111,78,55,.35);
    color: var(--az-brown-2);
    background: #fff;
}

.azBtn.isFollowing{
    background:#fff;
    color:#b42318;
    border-color:#fecaca;
}

.azStatsRow{
    margin-top:12px;
    display:grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap:10px;
}

.azStat{
    border:1px solid var(--az-line);
    border-radius:14px;
    background:#fff;
    padding:10px 12px;
}

.azStatLabel{
    margin:0;
    color:var(--az-muted);
    font-size:12px;
    font-weight:500;
}

.azStatValue{
    margin:4px 0 0;
    color:#111827;
    font-size:20px;
    line-height:1;
    font-weight:700;
}

/* ================= TOP BAR ================= */
.azTopBar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:14px 0 10px;
    position:sticky;
    top:70px;
    z-index:10;
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(230,235,243,.8);
}

.azTabs{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
}

.azTab{
    text-decoration:none;
    color:#344054;
    border:1px solid var(--az-line-2);
    background:#fff;
    border-radius:999px;
    padding:8px 12px;
    font-size:13px;
    font-weight:500;
    transition:.15s ease;
}

.azTab:hover{
    background:#f8fafc;
    border-color:#d3ddea;
}

.azTab.active{
    background:#eef5ff;
    border-color:#cfe0f7;
    color:#1d4f91;
    font-weight:600;
}

.azMiniSearch{
    position:relative;
    width:310px;
    max-width:100%;
    flex:0 0 auto;
}

.azMiniSearch input{
    width:100%;
    height:40px;
    border-radius:999px;
    border:1px solid var(--az-line-2);
    background:#f8fafc;
    padding:0 46px 0 14px;
    outline:none;
    font-size:13px;
    color:#344054;
    font-weight:400;
}

.azMiniSearch input:focus{
    background:#fff;
    border-color: rgba(255,106,0,.28);
    box-shadow: 0 0 0 4px rgba(255,106,0,.08);
}

.azMiniSearchBtn{
    position:absolute;
    right:4px;
    top:4px;
    width:32px;
    height:32px;
    border:0;
    border-radius:999px;
    background:linear-gradient(135deg, var(--az-orange), var(--az-orange-2));
    color:#fff;
    font-size:14px;
    line-height:1;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 4px 10px rgba(255,106,0,.22);
}

/* ================= GRID PRINCIPAL ================= */
.azGrid{
    display:grid;
    grid-template-columns: minmax(380px, 470px) minmax(0, 1fr);
    gap:16px;
    align-items:start;
    margin-top:12px;
}

.azLeftCol{
    position:sticky;
    top:126px;
}

.azCard{
    border:1px solid var(--az-line);
    border-radius:16px;
    background:#fff;
    box-shadow: var(--az-shadow-soft);
    padding:14px;
}

.azCard + .azCard{ margin-top:12px; }

.azCardHead{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:10px;
}

.azCardTitle{
    margin:0;
    color:#111827;
    font-size:15px;
    font-weight:600;
}

.azMuted{
    color:var(--az-muted);
    font-size:12px;
    font-weight:400;
}

.azStars{
    color:#f5b301;
    font-size:18px;
    letter-spacing:1px;
    font-weight:600;
}

.azRow{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    padding:10px 0;
    border-bottom:1px dashed #edf1f5;
    font-size:13px;
}
.azRow:last-child{ border-bottom:0; }

.azListLink{
    color:inherit;
    text-decoration:none;
}

.azSeeAllBtn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:8px 12px;
    min-height:34px;
    border-radius:999px;
    border:1px solid rgba(111,78,55,.22);
    background: var(--az-aqua);
    color: var(--az-brown-2);
    text-decoration:none;
    font-size:12px;
    font-weight:600;
    line-height:1;
}

.azSeeAllBtn:hover{
    background:#dcf8f6;
    border-color: rgba(111,78,55,.35);
}

/* ================= GRIDS (Produtos / Coleções / Fotos) ================= */
.azTileGrid{
    display:grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap:10px;
}

.azTile{
    display:block;
    border:1px solid #edf1f5;
    border-radius:14px;
    background:#fff;
    padding:8px;
    transition:.15s ease;
}

.azTile:hover{
    border-color:#dbe5f1;
    box-shadow: 0 6px 14px rgba(16,24,40,.05);
    transform: translateY(-1px);
}

.azTileMedia{
    width:100%;
    aspect-ratio:1/1;
    border-radius:10px;
    overflow:hidden;
    background:#eef2f7;
    border:1px solid #e6ecf4;
}

.azTileMedia img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.azTileTitle{
    margin:8px 0 0;
    font-size:13px;
    line-height:1.2;
    color:#111827;
    font-weight:500;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    min-height:31px;
}

.azTileSub{
    margin:4px 0 0;
    font-size:12px;
    color:var(--az-muted);
    font-weight:400;
}

.azTilePrice{
    margin:4px 0 0;
    font-size:13px;
    color:#0f766e;
    font-weight:600;
}

.azPhotos{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:8px;
}

.azPhoto{
    border:1px solid #e7edf5;
    border-radius:12px;
    overflow:hidden;
    background:#eef2f7;
    aspect-ratio:1/1;
    cursor: zoom-in;
}

.azPhoto img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.18s ease;
}
.azPhoto:hover img{ transform:scale(1.03); }

/* ================= COMPOSER FEED ================= */
.azComposer{
    border:1px solid var(--az-line);
    border-radius:16px;
    background:#fff;
    box-shadow: var(--az-shadow-soft);
    padding:14px;
    margin-bottom:12px;
}

.azComposerHead{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
}

.azComposerAvatar{
    width:40px;
    height:40px;
    border-radius:999px;
    overflow:hidden;
    background:#eef2f7;
    border:1px solid #e5ebf2;
    flex:0 0 auto;
}
.azComposerAvatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.azComposerTitle{
    margin:0;
    color:#111827;
    font-size:14px;
    font-weight:600;
}

.azComposerSub{
    margin:2px 0 0;
    color:var(--az-muted);
    font-size:12px;
    font-weight:400;
    line-height:1.3;
}

.azComposerRow{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.azComposerRow input{
    flex:1 1 260px;
    min-height:40px;
    border-radius:12px;
    border:1px solid var(--az-line-2);
    background:#fff;
    padding:0 12px;
    outline:none;
    font-size:13px;
    font-weight:400;
}

.azComposer textarea{
    width:100%;
    margin-top:10px;
    min-height:78px;
    border-radius:12px;
    border:1px solid var(--az-line-2);
    background:#fff;
    padding:10px 12px;
    outline:none;
    resize:vertical;
    font-size:13px;
    font-weight:400;
    line-height:1.45;
}

.azComposerRow input:focus,
.azComposer textarea:focus{
    border-color: rgba(255,106,0,.28);
    box-shadow: 0 0 0 4px rgba(255,106,0,.08);
}

.azUploadPreview{
    margin-top:10px;
    display:none;
    gap:8px;
    flex-wrap:wrap;
}
.azUploadPreview.show{ display:flex; }

.azUploadThumb{
    width:72px;
    height:72px;
    border-radius:10px;
    border:1px solid #e6ecf4;
    overflow:hidden;
    background:#eef2f7;
    position:relative;
}

.azUploadThumb img,
.azUploadThumb video{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    background:#0b0f17;
}

.azUploadThumb button{
    position:absolute;
    top:4px;
    right:4px;
    width:18px;
    height:18px;
    border:none;
    border-radius:999px;
    background:rgba(0,0,0,.55);
    color:#fff;
    font-size:11px;
    line-height:1;
    cursor:pointer;
    padding:0;
    font-family: inherit;
}

.azUploadType{
    position:absolute;
    left:6px;
    bottom:6px;
    z-index:2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:20px;
    padding:0 7px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.25);
    background:rgba(11,15,23,.68);
    color:#fff;
    font-size:10px;
    font-weight:700;
    letter-spacing:.03em;
    line-height:1;
    backdrop-filter: blur(6px);
    pointer-events:none;
}

/* ================= FEED ================= */
.azFeedItem{
    border:1px solid var(--az-line);
    border-radius:16px;
    background:#fff;
    box-shadow: var(--az-shadow-soft);
    overflow:hidden;
    margin-bottom:12px;
    cursor: pointer;
}

.azFeedBodyWrap{
    padding:14px;
}

.azFeedHead{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
}

.azFeedAuthor{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
}

.azFeedAuthorAvatar{
    width:40px;
    height:40px;
    border-radius:999px;
    overflow:hidden;
    background:#eef2f7;
    border:1px solid #e5ebf2;
    flex:0 0 auto;
}

.azFeedAuthorAvatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.azFeedAuthorName{
    margin:0;
    color:#111827;
    font-size:14px;
    line-height:1.1;
    font-weight:600;
}

.azFeedDate{
    margin-top:2px;
    color:var(--az-muted);
    font-size:12px;
    font-weight:400;
}

.azEditedFlag{
    color:#b45103;
    font-weight:600;
}

.azFeedTypeChip{
    padding:6px 10px;
    border:1px solid #e6ecf4;
    border-radius:999px;
    font-size:11px;
    color:#667085;
    background:#f8fafc;
    font-weight:500;
    white-space:nowrap;
}

.azFeedTitle{
    margin:10px 0 0;
    color:#111827;
    font-size:17px;
    line-height:1.2;
    font-weight:600;
}

.azFeedText{
    margin-top:8px;
    color:#344054;
    font-size:14px;
    line-height:1.5;
    font-weight:400;
}

.azFeedMedia{
    margin-top:12px;
    border:1px solid #e6ecf4;
    border-radius:14px;
    overflow:hidden;
    background:#eef2f7;
    position:relative;
}

.azFeedMedia img{
    width:100%;
    max-height:460px;
    object-fit:cover;
    display:block;
    cursor: zoom-in;
}

.azFeedMedia video{
    width:100%;
    max-height:460px;
    object-fit:cover;
    display:block;
    background:#0b0f17;
    cursor:default;
}

.azFeedMediaGrid{
    margin-top:12px;
    display:grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap:8px;
}

.azFeedMediaGrid .azFeedMedia{
    margin-top:0;
}

.azFeedInfo{
    margin-top:10px;
    padding-top:10px;
    border-top:1px solid #edf1f5;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    color:var(--az-muted);
    font-size:12px;
    font-weight:400;
}

/* Botões do feed */
.azFeedActions{
    margin-top:10px;
    display:grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap:8px;
}

.azMiniBtn{
    min-height:42px;
    border-radius:10px;
    border:1px solid var(--az-brown);
    background: var(--az-aqua);
    color: var(--az-brown-2);
    font-size:13px;
    font-weight:600;
    cursor:pointer;
    transition:.15s ease;
    width:100%;
    font-family: inherit;
}

.azMiniBtn:hover{
    background:#dcf8f6;
    border-color:#4b3427;
}

.azMiniBtn.like.active{
    background: rgba(255,106,0,.10);
    border-color: rgba(255,106,0,.65);
    color:#b45103;
}

.azShareWrap{
    position:relative;
}

.azShareMenu{
    position:absolute;
    right:0;
    top:46px;
    width:220px;
    border:1px solid #e5ebf2;
    background:#fff;
    border-radius:12px;
    box-shadow:0 10px 28px rgba(16,24,40,.10);
    padding:6px;
    z-index:8;
    display:none;
}

.azShareMenu.show{ display:block; }

.azShareOption{
    width:100%;
    text-align:left;
    border:0;
    background:#fff;
    border-radius:8px;
    padding:9px 10px;
    font-size:13px;
    color:#344054;
    cursor:pointer;
    font-weight:500;
    font-family: inherit;
}

.azShareOption:hover{ background:#f8fafc; }

/* ================= MENU 3 PONTINHOS (POST) ================= */
.azPostMenuWrap{
    position:relative;
    flex:0 0 auto;
}

.azPostMenuBtn{
    width:34px;
    height:34px;
    border:1px solid #e2e8f0;
    border-radius:999px;
    background:#fff;
    color:#344054;
    font-size:20px;
    line-height:1;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:.15s ease;
    box-shadow:0 4px 10px rgba(16,24,40,.05);
    padding:0;
    font-family: inherit;
}

.azPostMenuBtn:hover{
    background:#f8fafc;
    border-color:#d5dee9;
}

.azPostMenu{
    position:absolute;
    right:0;
    top:40px;
    min-width:180px;
    border:1px solid #e5ebf2;
    background:#fff;
    border-radius:12px;
    box-shadow:0 10px 28px rgba(16,24,40,.12);
    padding:6px;
    z-index:12;
}

.azPostMenu[hidden]{
    display:none !important;
}

.azPostMenu button{
    width:100%;
    border:0;
    background:#fff;
    color:#344054;
    text-align:left;
    border-radius:8px;
    padding:10px 12px;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
    transition:.15s ease;
    font-family: inherit;
}

.azPostMenu button:hover{
    background:#f8fafc;
}

.azPostMenu button[data-post-action="delete"]{
    color:#b42318;
}

.azPostMenu button[data-post-action="delete"]:hover{
    background:#fff1f2;
}

/* ================= COMENTÁRIOS FEED ================= */
.azCommentsBox{
    margin-top:10px;
    padding-top:10px;
    border-top:1px solid #edf1f5;
}

.azCommentsList{
    display:grid;
    gap:8px;
}

.azCommentItem{
    border:1px solid #e7edf5;
    background:#f8fafc;
    border-radius:10px;
    padding:8px 10px;
}

.azCommentMeta{
    margin:0 0 4px;
    font-size:11px;
    color:#667085;
    font-weight:500;
    line-height:1.2;
}

.azCommentText{
    margin:0;
    font-size:13px;
    color:#344054;
    line-height:1.35;
    word-break:break-word;
}

.azCommentForm{
    margin-top:8px;
    display:flex;
    gap:8px;
    align-items:center;
}

.azCommentForm input{
    flex:1 1 auto;
    min-width:0;
    height:40px;
    border-radius:10px;
    border:1px solid var(--az-line-2);
    background:#fff;
    padding:0 12px;
    outline:none;
    font-size:13px;
    color:#344054;
    font-family: inherit;
}

.azCommentForm input:focus{
    border-color: rgba(255,106,0,.28);
    box-shadow: 0 0 0 4px rgba(255,106,0,.08);
}

.azCommentHint{
    margin-top:6px;
    font-size:11px;
    color:#667085;
}

/* ================= CLICK / MODAL ================= */
.azFeedItem .azFeedActions,
.azFeedItem .azCommentsBox,
.azFeedItem .azShareWrap,
.azFeedItem button,
.azFeedItem input{
    cursor: default;
}

.azViewModal{
    position:fixed;
    inset:0;
    z-index:9999;
    background:rgba(0,0,0,.72);
    display:none;
    align-items:center;
    justify-content:center;
    padding:10px;
}

.azViewModal.show{
    display:flex;
}

.azViewModalDialog{
    position:relative;
    width:min(1450px, calc(100vw - 20px));
    height:calc(100vh - 20px);
    background:#fff;
    border-radius:16px;
    border:1px solid #e6ecf4;
    box-shadow:0 20px 60px rgba(0,0,0,.28);
    overflow:hidden;
    display:flex;
    flex-direction:column;
}

.azModalClose{
    position:absolute;
    top:10px;
    right:10px;
    z-index:2;
    width:40px;
    height:40px;
    border:1px solid #d0d8e4;
    border-radius:999px;
    background:rgba(255,255,255,.95);
    color:#111827;
    font-size:20px;
    line-height:1;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 8px 18px rgba(16,24,40,.12);
    font-family: inherit;
}

.azModalClose:hover{
    background:#fff;
}

.azViewModalBody{
    flex:1;
    min-height:0;
    overflow:auto;
    padding:14px;
    background:#fff;
}

.azModalImageWrap{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#0b0f17;
    border-radius:10px;
    overflow:hidden;
}

.azModalImageWrap img,
.azModalImageWrap video{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
    background:#0b0f17;
}

.azModalPostView .azFeedItem{
    margin:0;
    box-shadow:none;
    border:0;
    cursor:default;
}

.azModalPostView .azFeedActions,
.azModalPostView .azCommentForm,
.azModalPostView .azCommentHint,
.azModalPostView .azShareMenu{
    display:none !important;
}

/* ================= MODAL COMPARTILHAR ================= */
.azShareModal{
    position:fixed;
    inset:0;
    z-index:10020;
    background:rgba(11,15,23,.62);
    display:none;
    align-items:center;
    justify-content:center;
    padding:14px;
}

.azShareModal.show{
    display:flex;
}

.azShareModalDialog{
    position:relative;
    width:min(680px, calc(100vw - 20px));
    background:#fff;
    border-radius:18px;
    border:1px solid #e6ecf4;
    box-shadow:0 20px 60px rgba(16,24,40,.20);
    padding:18px;
}

.azShareModal .azModalClose{
    top:10px;
    right:10px;
}

.azShareModalTitle{
    margin:2px 42px 12px 0;
    color:#111827;
    font-size:18px;
    line-height:1.2;
    font-weight:700;
}

/* Patch / estilos de campo para modal compartilhar */
.azShareModal .azField{
    display:grid;
    gap:6px;
}

.azShareModal .azField label{
    font-size:12px;
    color:#344054;
    font-weight:600;
    line-height:1.2;
}

.azShareModal .azInput{
    width:100%;
    min-height:42px;
    padding:0 12px;
    border:1px solid var(--az-line-2);
    background:#fff;
    border-radius:12px;
    outline:none;
    color:#344054;
    font-size:13px;
    font-weight:400;
    font-family:inherit;
}

.azShareModal .azInput:focus{
    border-color: rgba(255,106,0,.28);
    box-shadow: 0 0 0 4px rgba(255,106,0,.08);
}

.azShareGrid{
    display:grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap:10px;
}

.azShareCard{
    border:1px solid #e5ebf2;
    background:#fff;
    border-radius:14px;
    min-height:84px;
    padding:10px 8px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;
    text-align:center;
    color:#344054;
    font-size:12px;
    font-weight:600;
    cursor:pointer;
    transition:.15s ease;
    font-family: inherit;
}

.azShareCard:hover{
    border-color:#cfd9e7;
    background:#f8fafc;
    transform:translateY(-1px);
    box-shadow:0 8px 18px rgba(16,24,40,.06);
}

.azShareCardIcon{
    width:34px;
    height:34px;
    border-radius:999px;
    border:1px solid #dbe5f1;
    background:var(--az-aqua);
    color:var(--az-brown-2);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:15px;
    font-weight:700;
    line-height:1;
}

/* ================= MODAL EDITAR POST ================= */
.azEditModal{
    position:fixed;
    inset:0;
    z-index:10030;
    background:rgba(11,15,23,.64);
    display:none;
    align-items:center;
    justify-content:center;
    padding:12px;
}

.azEditModal.show{
    display:flex;
}

.azEditModalDialog{
    position:relative;
    width:min(860px, calc(100vw - 20px));
    max-height:calc(100vh - 20px);
    overflow:auto;
    background:#fff;
    border-radius:18px;
    border:1px solid #e6ecf4;
    box-shadow:0 20px 60px rgba(16,24,40,.22);
    padding:18px;
}

.azEditModal .azModalClose{
    top:10px;
    right:10px;
}

.azEditModalTitle{
    margin:0 42px 6px 0;
    color:#111827;
    font-size:18px;
    font-weight:700;
    line-height:1.2;
}

.azEditModalSub{
    margin:0 0 12px;
    color:#667085;
    font-size:12px;
    line-height:1.45;
}

.azEditForm{
    display:grid;
    gap:10px;
}

.azEditForm input[type="text"],
.azEditForm textarea{
    width:100%;
    border:1px solid var(--az-line-2);
    background:#fff;
    border-radius:12px;
    outline:none;
    color:#344054;
    font-size:13px;
    font-weight:400;
    font-family: inherit;
}

.azEditForm input[type="text"]{
    min-height:42px;
    padding:0 12px;
}

.azEditForm textarea{
    min-height:110px;
    resize:vertical;
    padding:10px 12px;
    line-height:1.45;
}

.azEditForm input[type="text"]:focus,
.azEditForm textarea:focus{
    border-color: rgba(255,106,0,.28);
    box-shadow: 0 0 0 4px rgba(255,106,0,.08);
}

.azEditMediaHead{
    margin-top:4px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    flex-wrap:wrap;
    padding:8px 0 0;
    border-top:1px dashed #edf1f5;
}

.azEditMediaHead strong{
    font-size:13px;
    color:#111827;
    font-weight:600;
}

.azEditActions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    margin-top:4px;
    padding-top:10px;
    border-top:1px dashed #edf1f5;
}

/* =========================================================
   MODAL POLÍTICAS + EDITAR MINHA LOJA (NOVO)
   ========================================================= */
.azPolicyModal,
.azStoreSettingsModal{
    position:fixed;
    inset:0;
    z-index:10040;
    background:rgba(11,15,23,.62);
    display:none;
    align-items:center;
    justify-content:center;
    padding:14px;
}

.azPolicyModal[aria-hidden="false"],
.azStoreSettingsModal[aria-hidden="false"]{
    display:flex;
}

.azPolicyDialog,
.azStoreSettingsDialog{
    position:relative;
    width:min(920px, calc(100vw - 20px));
    max-height:calc(100vh - 20px);
    overflow:auto;
    background:#fff;
    border-radius:18px;
    border:1px solid #e6ecf4;
    box-shadow:0 20px 60px rgba(16,24,40,.22);
    padding:18px;
}

.azPolicyDialog{
    width:min(760px, calc(100vw - 20px));
}

.azPolicyModal .azModalClose,
.azStoreSettingsModal .azModalClose{
    top:10px;
    right:10px;
}

.azModalTitle{
    margin:0 42px 6px 0;
    color:#111827;
    font-size:18px;
    line-height:1.2;
    font-weight:700;
    letter-spacing:-.2px;
}

.azModalSub{
    margin:0 42px 12px 0;
    color:#667085;
    font-size:12px;
    line-height:1.45;
    font-weight:400;
}

.azPolicyText{
    border:1px solid var(--az-line);
    background:#f8fafc;
    border-radius:14px;
    padding:12px;
    color:#344054;
    font-size:13px;
    line-height:1.55;
    white-space:pre-wrap;
}

.azPolicyActions{
    margin-top:12px;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    flex-wrap:wrap;
}

.azStoreSettingsForm{
    display:grid;
    gap:10px;
}

.azGrid2{
    display:grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap:10px;
}

.azField{
    display:grid;
    gap:6px;
}

.azField label{
    font-size:12px;
    color:#344054;
    font-weight:600;
    line-height:1.2;
}

.azField small{
    color:#667085;
    font-size:11px;
    line-height:1.35;
}

.azInput,
.azTextarea,
.azSelect{
    width:100%;
    border:1px solid var(--az-line-2);
    background:#fff;
    border-radius:12px;
    outline:none;
    color:#344054;
    font-size:13px;
    font-weight:400;
    font-family: inherit;
}

.azInput,
.azSelect{
    min-height:42px;
    padding:0 12px;
}

.azTextarea{
    min-height:88px;
    resize:vertical;
    padding:10px 12px;
    line-height:1.45;
}

.azInput:focus,
.azTextarea:focus,
.azSelect:focus{
    border-color: rgba(255,106,0,.28);
    box-shadow: 0 0 0 4px rgba(255,106,0,.08);
}

.azHintWarn{
    margin:0;
    border:1px solid #fde68a;
    background:#fffbeb;
    color:#92400e;
    border-radius:12px;
    padding:10px 12px;
    font-size:12px;
    line-height:1.4;
    font-weight:500;
}

.azFilePickerRow{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}

.azFileName{
    color:#667085;
    font-size:12px;
    line-height:1.2;
    word-break:break-all;
}

.azInlinePreview{
    margin-top:6px;
    border:1px solid #e6ecf4;
    border-radius:12px;
    background:#f8fafc;
    padding:8px;
    display:flex;
    align-items:center;
    gap:8px;
}

.azInlinePreview img{
    width:54px;
    height:54px;
    border-radius:10px;
    object-fit:cover;
    border:1px solid #e6ecf4;
    background:#eef2f7;
    display:block;
}

.azInlinePreview span{
    min-width:0;
    font-size:12px;
    color:#344054;
    line-height:1.35;
    word-break:break-all;
}

.azStoreSettingsActions{
    margin-top:4px;
    padding-top:10px;
    border-top:1px dashed #edf1f5;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    flex-wrap:wrap;
}

/* ================= HELPERS NOVOS ================= */
.azHidden{
    display:none !important;
}

.azNoScroll{
    overflow:hidden;
}

/* ================= RESPONSIVO ================= */
@media (max-width:1180px){
    .azGrid{ grid-template-columns:1fr; }
    .azLeftCol{ position:static; top:auto; }
}

@media (max-width:980px){
    .azInfoTop{ grid-template-columns:1fr; }
    .azActions{ justify-content:flex-start; }

    .azStatsRow{ grid-template-columns:repeat(2,minmax(0,1fr)); }

    .azTopBar{
        top:62px;
        flex-direction:column;
        align-items:stretch;
    }

    .azMiniSearch{ width:100%; }

    .azShareGrid{
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

    .azEditActions{
        justify-content:stretch;
    }

    .azEditActions .azBtn{
        flex:1 1 0;
    }
}

@media (max-width:760px){
    .azHero img{ height:280px; }
    .azHero{ min-height:280px; }
    .azHeroBottomTitle h2{ font-size:26px; }

    .azStoreInfoInner{
        padding-left:0;
        min-height:auto;
    }

    .azAvatar{
        position:relative;
        top:auto;
        left:auto;
        margin-top:-70px;
        margin-bottom:10px;
        width:150px;
        height:150px;
    }

    .azStoreName{ font-size:24px; }
    .azStatsRow{ grid-template-columns:1fr; }
    .azFeedActions{ grid-template-columns:1fr 1fr; }
    .azTileGrid{ grid-template-columns: repeat(2, minmax(0,1fr)); }

    .azCommentForm{
        flex-direction:column;
        align-items:stretch;
    }

    .azShareModalDialog,
    .azEditModalDialog,
    .azPolicyDialog,
    .azStoreSettingsDialog{
        width:calc(100vw - 14px);
        border-radius:14px;
        padding:14px;
    }

    .azShareGrid{
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .azShareCard{
        min-height:74px;
        font-size:11px;
    }

    .azPostMenu{
        right:-4px;
        min-width:168px;
    }

    .azEditMediaHead{
        align-items:stretch;
    }

    .azEditMediaHead > div{
        width:100%;
    }

    .azEditMediaHead .azBtn{
        flex:1 1 0;
    }

    .azFeedMedia img,
    .azFeedMedia video{
        max-height:320px;
    }

    .azGrid2{
        grid-template-columns:1fr;
    }

    .azPolicyActions,
    .azStoreSettingsActions{
        justify-content:stretch;
    }

    .azPolicyActions .azBtn,
    .azStoreSettingsActions .azBtn{
        flex:1 1 0;
    }
}

@media (max-width:520px){
    .azComposerHead{
        align-items:flex-start;
        flex-wrap:wrap;
    }

    .azComposerHead > div:last-child{
        width:100%;
    }

    .azComposerRow{
        gap:8px;
    }

    .azComposerRow .azBtn{
        flex:1 1 calc(50% - 4px);
    }

    .azComposerRow .azBtnPrimary{
        width:100%;
    }

    .azFeedHead{
        gap:8px;
    }

    .azFeedAuthor{
        min-width:0;
    }

    .azFeedTypeChip{
        display:none;
    }

    .azPostMenuBtn{
        width:32px;
        height:32px;
        font-size:18px;
    }
}